Skip to content

Commit

Permalink
Merge "[DM]: Minor changes to bgp configuration"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Aug 4, 2016
2 parents 54a6f09 + 6f87fdb commit 682c1ee
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -745,16 +745,15 @@ def _get_bgp_config_xml(self, external=False):
if external:
etree.SubElement(bgp_config, "name").text = "__contrail_external__"
etree.SubElement(bgp_config, "type").text = "external"
etree.SubElement(bgp_config, "multihop")
else:
etree.SubElement(bgp_config, "name").text = "__contrail__"
etree.SubElement(bgp_config, "type").text = "internal"
etree.SubElement(bgp_config, "multihop")
local_address = etree.SubElement(bgp_config, "local-address")
local_address.text = self.bgp_params['address']
self._add_family_etree(bgp_config, self.bgp_params)
self.add_bgp_auth_config(bgp_config, self.bgp_params)
self.add_bgp_hold_time_config(bgp_config, self.bgp_params)
etree.SubElement(bgp_config, "keep").text = "all"
return bgp_config
# end _get_bgp_config_xml

Expand Down

0 comments on commit 682c1ee

Please sign in to comment.