Update ce_ntp to fix bugs

pull/61654/head
zhangyan 5 years ago
parent 0e9f002073
commit afea7cc454

@ -574,7 +574,8 @@ class Ntp(object):
cli_str = "%s %s" % ( cli_str = "%s %s" % (
"undo ntp unicast-peer ipv6", self.address) "undo ntp unicast-peer ipv6", self.address)
if (self.vpn_name) and (self.vpn_name != '_public_'): if (self.vpn_name) and (self.vpn_name != '_public_'):
cli_str = "%s %s" % (cli_str, self.vpn_name) cli_str = "%s %s %s" % (
cli_str, "vpn-instance", self.vpn_name)
self.updates_cmd.append(cli_str) self.updates_cmd.append(cli_str)

Loading…
Cancel
Save