Update ce_ntp to fix bugs (#61654)

This commit is contained in:
yanzhangi 2019-09-18 09:56:51 +08:00 committed by ansibot
parent 9d9863fec1
commit 698e3eae5e

View file

@ -574,7 +574,8 @@ class Ntp(object):
cli_str = "%s %s" % (
"undo ntp unicast-peer ipv6", self.address)
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)