Abstract:
Embodiments of the present disclosure disclose a method and an apparatus for restoring a network device to factory defaults, and a network device, and relate to the field of configuration management technologies. A NETCONF server determines that the network device needs to be restored to the factory defaults; the NETCONF server replaces data in a startup configuration datastore and a running configuration datastore in the NETCONF server with factory defaults data in a factory defaults datastore, where the factory defaults datastore is dedicated to storing the factory defaults data of the network device. The NETCONF server delivers the data in the running configuration datastore after replacement to a plurality of service modules. Then, the plurality of service modules performs a validation operation based on the data delivered by the NETCONF server.
Abstract:
A power-line carrier (PLC) terminal control apparatus, system, and method, where the PLC terminal control apparatus is configured to receive a subscription request sent by a PLC terminal system, where the subscription request includes an identifier of the PLC terminal system and a topic for controlling the PLC terminal system, establish a correspondence between the topic and the identifier of the PLC terminal system in a mapping table according to the subscription request, send a subscription response message to the PLC terminal system according to the correspondence, where the subscription response message includes the topic, receive a control message published by a message queuing telemetry transport (MQTT) publisher, where the control message includes a control word and the topic, and the control word controls an operation performed based on the topic, and send the control message to the PLC terminal system according to the correspondence.
Abstract:
The present invention provides a method for controlling generation of routing information, a method for generating routing information, and apparatuses thereof. When it is detected that a virtual machine is migrated out of or migrated into a data center, a subnet to which the virtual machine belongs is determined, a route control identifier for adjusting routing information of a virtual machine that belongs to the subnet and is in the data center is determined, and the route control identifier is sent to the data center, so that the data center adjusts, according to the route control identifier, routing information of the virtual machine that belongs to the subnet and is in the data center. In this way, generation of many host routes in data centers when a virtual machine is migrated across the data centers is prevented.
Abstract:
The present disclosure disclose a configuration management method and apparatus, and a device. A control device determines that an application message needs to be published to a target logical group. The control device obtains an identifier of the target logical group and queries, according to a gateway mapping table and the identifier of the target logical group, a gateway connected to each of the at least one target terminal, to obtain at least one target gateway. The control device generates based on the application message, a MQTT publish packet and sends the MQTT publish packet to the at least one target gateway, where the MQTT publish packet is used to instruct a target gateway that receives the MQTT publish packet to send a corresponding application message to each target terminal that is connected to the target gateway and that belongs to the target logical group.
Abstract:
Embodiments of the present disclosure disclose a method and an apparatus for restoring a NETCONF server to factory defaults, and relate to the field of configuration management technologies. A NETCONF server receives a command for restoring to factory defaults sent by a NETCONF client, where the command for restoring to factory defaults is a remote procedure call (RPC) command that is based on a Yang model of the NETCONF for restoring the NETCONF server to the factory defaults. The NETCONF server replaces data in the running configuration datastore with factory defaults of the NETCONF server according to the command for restoring to factory defaults.
Abstract:
The present disclosure disclose a configuration management method and apparatus, and a device. A control device determines that an application message needs to be published to a target logical group. The control device obtains an identifier of the target logical group and queries, according to a gateway mapping table and the identifier of the target logical group, a gateway connected to each of the at least one target terminal, to obtain at least one target gateway. The control device generates based on the application message, a MQTT publish packet and sends the MQTT publish packet to the at least one target gateway, where the MQTT publish packet is used to instruct a target gateway that receives the MQTT publish packet to send a corresponding application message to each target terminal that is connected to the target gateway and that belongs to the target logical group disclosure
Abstract:
Embodiments of the present disclosure disclose a method and an apparatus for restoring a network device to factory defaults, and a network device, and relate to the field of configuration management technologies. A NETCONF server determines that the network device needs to be restored to the factory defaults; the NETCONF server replaces data in a startup configuration datastore and a running configuration datastore in the NETCONF server with factory defaults data in a factory defaults datastore, where the factory defaults datastore is dedicated to storing the factory defaults data of the network device. The NETCONF server delivers the data in the running configuration datastore after replacement to a plurality of service modules. Then, the plurality of service modules performs a validation operation based on the data delivered by the NETCONF server.