-
1.
公开(公告)号:US11159372B2
公开(公告)日:2021-10-26
申请号:US16283585
申请日:2019-02-22
Applicant: Huawei Technologies Co., Ltd.
Inventor: Xin Lei , Yun Zhou , Xiao Luo , Peijian Kang
IPC: G06F15/177 , H04L12/24 , H04L29/08 , G06F1/24
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.
-
2.
公开(公告)号:US11658870B2
公开(公告)日:2023-05-23
申请号:US17487512
申请日:2021-09-28
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Xin Lei , Yun Zhou , Xiao Luo , Peijian Kang
IPC: G06F15/177 , H04L41/0816 , G06F1/24 , H04L65/40 , H04L41/0859
CPC classification number: H04L41/0816 , G06F1/24 , H04L65/40 , H04L41/0863
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.
-
3.
公开(公告)号:US20190190779A1
公开(公告)日:2019-06-20
申请号:US16283585
申请日:2019-02-22
Applicant: Huawei Technologies Co., Ltd.
Inventor: Xin Lei , Yun Zhou , Xiao Luo , Peijian Kang
IPC: H04L12/24
CPC classification number: H04L41/0816 , G06F1/24 , H04L29/08 , H04L41/0863
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.
-
-