[Backport/2.9/61431]Update ce_interface_ospf to fix bugs (#62686)

* Update ce_interface_ospf to fix bugs

(cherry picked from commit b7e9bb8448c13ebe787f2589ad0e6613235bf3e8)

* Update ce_interface_ospf modified information
This commit is contained in:
yanzhangi 2019-10-12 23:40:07 +08:00 committed by Toshio Kuratomi
parent 59f33cde8b
commit d68a05414a
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- ce_interface_ospf- update to fix some bugs - Add some update statements. (https://github.com/ansible/ansible/pull/61431)

View file

@ -474,7 +474,7 @@ class InterfaceOSPF(object):
# interface view
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()))
if self.cost:
xml_intf += CE_NC_XML_SET_COST % self.cost