Loading src/device/service/drivers/openconfig/templates/VPN/Network_instance_multivendor.py +1 −0 Original line number Diff line number Diff line Loading @@ -125,6 +125,7 @@ def add_protocol_NI(parameters,vendor, DEL): with tag('config'): with tag('identifier', 'xmlns:oc-pol-types="http://openconfig.net/yang/policy-types"'):text('oc-pol-types:',parameters['identifier']) with tag('name') :text(parameters['protocol_name']) with tag('enabled'): text('true') if "BGP" in parameters['identifier']: with tag('bgp'): with tag('name'): text(parameters['as']) Loading Loading
src/device/service/drivers/openconfig/templates/VPN/Network_instance_multivendor.py +1 −0 Original line number Diff line number Diff line Loading @@ -125,6 +125,7 @@ def add_protocol_NI(parameters,vendor, DEL): with tag('config'): with tag('identifier', 'xmlns:oc-pol-types="http://openconfig.net/yang/policy-types"'):text('oc-pol-types:',parameters['identifier']) with tag('name') :text(parameters['protocol_name']) with tag('enabled'): text('true') if "BGP" in parameters['identifier']: with tag('bgp'): with tag('name'): text(parameters['as']) Loading