Update ce_interface_ospf to fix bugs (#61431)

This commit is contained in:
yanzhangi 2019-09-18 10:07:48 +08:00 committed by ansibot
parent 698e3eae5e
commit 8eec5d2ab2

View file

@ -474,7 +474,7 @@ class InterfaceOSPF(object):
# interface view # interface view
self.updates_cmd.append("interface %s" % self.interface) self.updates_cmd.append("interface %s" % self.interface)
self.updates_cmd.append("ospf enable process %s area %s" % ( self.updates_cmd.append("ospf enable %s area %s" % (
self.process_id, self.get_area_ip())) self.process_id, self.get_area_ip()))
if self.cost: if self.cost:
xml_intf += CE_NC_XML_SET_COST % self.cost xml_intf += CE_NC_XML_SET_COST % self.cost