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:
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.