Comments (18)
I would like to add also some outputs from the diagnostics tool:
Testing netconf
:
$ ./odl_test.py --controller_ip 172.31.141.230 --controller_port 8181 --user admin --pass xxx netconf
[INFO] <module>: This is initializing the automation log
[INFO] <module>: Parser: Namespace(command='netconf', controller_ip='172.31.141.230', controller_port='8181', name=None, password='xxx', user='admin')
[INFO] set_head: odl access method: local
[INFO] set_head: odl access method: local
[INFO] set_head: odl access method: local
[INFO] get_url: http://172.31.141.230:8181/restconf/modules
[INFO] get_url: Url GET Status: 200
[INFO] version_check: Found ODL Release: carbon
[INFO] get_url: http://172.31.141.230:8181/restconf/operational/network-topology:network-topology/topology/topology-netconf
[INFO] get_url: Url GET Status: 200
[ERROR] netconf_list: format error in netconf node-list: {u'topology': [{u'topology-id': u'topology-netconf'}]}
[INFO] netconf_test: Netconf nodes found: 0
[INFO] set_head: odl access method: local
[INFO] get_url: http://172.31.141.230:8181/restconf/modules
[INFO] get_url: Url GET Status: 200
[INFO] version_check: Found ODL Release: carbon
[INFO] netconf_test: Odl Version: carbon
{
"netconf-test": {
"number_of_nodes:": 0,
"results": []
}
}
Testing bgp
:
$ ./odl_test.py --controller_ip 172.31.141.230 --controller_port 8181 --user admin --pass xxx bgp
[INFO] <module>: This is initializing the automation log
[INFO] <module>: Parser: Namespace(address=None, command='bgp', controller_ip='172.31.141.230', controller_port='8181', name=None, password='xxx', user='admin')
[INFO] set_head: odl access method: local
[INFO] get_url: http://172.31.141.230:8181/restconf/operational/network-topology:network-topology/topology/example-linkstate-topology
[INFO] get_url: Url GET Status: 200
[ERROR] bgp_test: No BGP-LS info
{}
I am running OpenDaylight Oxygen-SR2 release, and not Carbon.
I guess that a wrong / out-of-date API call is made.
Would you be so kind to advise on the next step ?
from pathman-sr.
Hi,
Can you share the output of: http://172.31.141.230:8181/restconf/operational/network-topology:network-topology/topology/topology-netconf
Cheers,
Nik
from pathman-sr.
I believe that the answer is that Oxygen does not have a link-state topology per default, you must create one.
- I did not add this to Pathman, as it works as expected if that topology is created.
uri_topology = '/restconf/config/network-topology:network-topology'
bgp_linkstate_oxy = """<topology xmlns="urn:TBD:params:xml:ns:yang:network-topology">
<topology-id>example-linkstate-topology</topology-id>
<topology-types>
<bgp-linkstate-topology xmlns="urn:opendaylight:params:xml:ns:yang:odl-bgp-topology-types"></bgp-linkstate-topology>
</topology-types>
<rib-id xmlns="urn:opendaylight:params:xml:ns:yang:odl-bgp-topology-config">example-bgp-rib</rib-id>
</topology>"""
if odl_version in ['oxygen']:
logging.info('LinkState set: {}'.format(post_xml(head+uri_topology, bgp_linkstate_oxy)))
Cheers,
Niklas
from pathman-sr.
Thanks @nikmon2 for looking into it.
In [15]: cmd
Out[15]: ' <topology xmlns="urn:TBD:params:xml:ns:yang:network-topology">\n <topology-id>aorta</topology-id>\n <topology-types>\n <bgp-linkstate-topology xmlns="urn:opendaylight:params:xml:ns:yang:odl-bgp-topology-types"></bgp-linkstate-topology>\n </topology-types>\n <rib-id xmlns="urn:opendaylight:params:xml:ns:yang:odl-bgp-topology-config">aorta</rib-id>\n</topology>\n '
In [16]: xxx = requests.post('http://{}:{}{}'.format(odl['api']['ipaddr'],odl['api']['port'],url), auth=auth, headers=headers, data=cmd)
In [17]: xxx.status_code
Out[17]: 204
In [18]: url = "/restconf/operational/network-topology:network-topology/topology/topology-netconf"
In [19]: xxx = requests.get('http://{}:{}{}'.format(odl['api']['ipaddr'],odl['api']['port'],url), auth=auth)
In [20]: xxx.text
Out[20]: '{"topology":[{"topology-id":"topology-netconf"}]}'
In [21]: url = "/restconf/config/network-topology:network-topology"
In [22]: xxx = requests.get('http://{}:{}{}'.format(odl['api']['ipaddr'],odl['api']['port'],url), auth=auth)
In [23]: xxx.json()
Out[23]:
{'network-topology': {'topology': [{'topology-id': 'aorta',
'odl-bgp-topology-config:rib-id': 'aorta',
'topology-types': {'odl-bgp-topology-types:bgp-linkstate-topology': {}}},
{'topology-id': 'pcep-topology',
'topology-types': {'network-topology-pcep:topology-pcep': {}},
'network-pcep-topology-config:session-config': {'listen-address': '0.0.0.0',
'rpc-timeout': 30,
'listen-port': 4189,
'dead-timer-value': 120,
'keep-alive-timer-value': 30},
'node': [{'node-id': '43.43.43.43',
'network-pcep-topology-config:session-config': {'password': 'topsecret',
'odl-pcep-topology-sync-optimizations-config:speaker-entity-id-value': 'AQIDBA=='}}]},
{'topology-id': 'topology-netconf'},
{'topology-id': 'example-ipv6-topology',
'odl-bgp-topology-config:rib-id': 'example-bgp-rib',
'topology-types': {'odl-bgp-topology-types:bgp-ipv6-reachability-topology': {}}},
{'topology-id': 'example-linkstate-topology',
'odl-bgp-topology-config:rib-id': 'example-bgp-rib',
'topology-types': {'odl-bgp-topology-types:bgp-linkstate-topology': {}}},
{'topology-id': 'example-ipv4-topology',
'odl-bgp-topology-config:rib-id': 'example-bgp-rib',
'topology-types': {'odl-bgp-topology-types:bgp-ipv4-reachability-topology': {}}}]}}
The error message in UI says:
Couldn't read topology data
Topology data is invalid.
Error code: GET_TOPOLOGY_INVALID
Possible resolution: Make sure that protocols match.
Could you please advise on the next step ? How can I help to resolve this ?
from pathman-sr.
As I can see from your output, you have created the topology.
{'topology-id': 'example-linkstate-topology',
'odl-bgp-topology-config:rib-id': 'example-bgp-rib',
'topology-types': {'odl-bgp-topology-types:bgp-linkstate-topology': {}}},
Next your odl controller needs to have a bgp-ls peer with a router, so that the topology can be populated.
Cheers,
Nik
from pathman-sr.
To compare your setup with a working example, please launch the OpenDaylight Oxygen demo in dCloud Cisco OpenDaylight Oxygen with Apps with 8 Nodes v1
(It should be avilable in all dCloud data-centers)
If you don't have access, register as guest, on www.cisco.com
Inside the demo, you will have access to XRv routers and a configured ODL controller.
Cheers,
Niklas
from pathman-sr.
thanks a lot @nikmon2 for the prompt reply. would you be so kind to enlighten me a bit more;
I have already a router that peers over BGP-LS and that router advertises to ODL 6 BGP-LS prefixes (see the very 1st command output at the issue description). What I am missing ?
PS. I created a topology called aorta
that seems to fine as well if I am not mistaken.
In fact, these are all the commands that configure BGP-LS on ODL
<protocol xmlns="http://openconfig.net/yang/network-instance">
<name>nl-ams02c-ispbgp01</name>
<identifier xmlns:x="http://openconfig.net/yang/policy-types">x:BGP</identifier>
<bgp xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">
<global>
<config>
<router-id>10.20.14.1</router-id>
<as>6830</as>
</config>
<afi-safis>
<afi-safi>
<afi-safi-name>LINKSTATE</afi-safi-name>
</afi-safi>
</afi-safis>
</global>
</bgp>
</protocol>
<neighbor xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">
<neighbor-address>10.20.14.0</neighbor-address>
<afi-safis>
<afi-safi>
<afi-safi-name>LINKSTATE</afi-safi-name>
</afi-safi>
</afi-safis>
</neighbor>
<topology xmlns="urn:TBD:params:xml:ns:yang:network-topology">
<topology-id>aorta</topology-id>
<topology-types>
<bgp-linkstate-topology xmlns="urn:opendaylight:params:xml:ns:yang:odl-bgp-topology-types"></bgp-linkstate-topology>
</topology-types>
<rib-id xmlns="urn:opendaylight:params:xml:ns:yang:odl-bgp-topology-config">aorta</rib-id>
</topology>
I guess there should be a way to map the topology rib-id to a specific BGP-LS session, that's why I do not see the topology being populated, no ?
Once again, thanks a lot for the support. I'll explore the dCloud demo.
from pathman-sr.
ODL has the linkstate routes
In [3]: url = "/restconf/operational/bgp-rib:bgp-rib/rib/nl-ams02c-ispbgp01/loc-rib/tables/bgp-linkstate:linkstate-address-family/bgp-linkstate:linkstate-subsequent-address-family/linkstate-routes"
In [4]: xxx = requests.get('http://{}:{}{}'.format(odl['api']['ipaddr'],odl['api']['port'],url), auth=auth)
In [5]: xxx.json()
Out[5]:
{'bgp-linkstate:linkstate-routes': {'linkstate-route': [{'route-key': 'AAEAHwIAAAAAAAAAAAEAABICAAAEAAAargIDAAYzMzMzMzM=',
'node-descriptors': {'as-number': 6830,
'isis-node': {'iso-system-id': 'MzMzMzMz'}},
'protocol-id': 'isis-level2',
'identifier': 0,
'attributes': {'node-attributes': {'isis-area-id': ['SQ=='],
'node-flags': '',
'dynamic-hostname': 'nl-ams02c-ns41-ISISLS',
'ipv4-router-id': '10.33.0.1'},
'origin': {'value': 'igp'},
'local-pref': {'pref': 100},
'as-path': {},
'ipv4-next-hop': {'global': '10.20.14.0'}}},
{'route-key': 'AAEAHwIAAAAAAAAAAAEAABICAAAEAAAargIDAAYQAJmZmZk=',
'node-descriptors': {'as-number': 6830,
'isis-node': {'iso-system-id': 'EACZmZmZ'}},
'protocol-id': 'isis-level2',
'identifier': 0,
'attributes': {'node-attributes': {'isis-area-id': ['SQ=='],
'node-flags': '',
'dynamic-hostname': 'nl-ams02c-ns41-ISISLS-2',
'ipv4-router-id': '10.0.99.99'},
'origin': {'value': 'igp'},
'local-pref': {'pref': 100},
'as-path': {},
'ipv4-next-hop': {'global': '10.20.14.0'}}},
{'route-key': 'AAIANgIAAAAAAAAAAAEAABMCAAAEAAAargIDAAcQAJmZmZkCAQEAEgIAAAQAABquAgMABhAAmZmZmQ==',
'remote-node-descriptors': {'as-number': 6830,
'isis-node': {'iso-system-id': 'EACZmZmZ'}},
'link-descriptors': {},
'local-node-descriptors': {'as-number': 6830,
'isis-pseudonode': {'is-is-router-identifier': {'iso-system-id': 'EACZmZmZ'},
'psn': 2}},
'protocol-id': 'isis-level2',
'identifier': 0,
'attributes': {'link-attributes': {'te-metric': 0},
'origin': {'value': 'igp'},
'local-pref': {'pref': 100},
'as-path': {},
'ipv4-next-hop': {'global': '10.20.14.0'}}},
{'route-key': 'AAIANgIAAAAAAAAAAAEAABMCAAAEAAAargIDAAcQAJmZmZkCAQEAEgIAAAQAABquAgMABjMzMzMzMw==',
'remote-node-descriptors': {'as-number': 6830,
'isis-node': {'iso-system-id': 'MzMzMzMz'}},
'link-descriptors': {},
'local-node-descriptors': {'as-number': 6830,
'isis-pseudonode': {'is-is-router-identifier': {'iso-system-id': 'EACZmZmZ'},
'psn': 2}},
'protocol-id': 'isis-level2',
'identifier': 0,
'attributes': {'link-attributes': {'te-metric': 0},
'origin': {'value': 'igp'},
'local-pref': {'pref': 100},
'as-path': {},
'ipv4-next-hop': {'global': '10.20.14.0'}}},
{'route-key': 'AAEAIAIAAAAAAAAAAAEAABMCAAAEAAAargIDAAcQAJmZmZkC',
'node-descriptors': {'as-number': 6830,
'isis-pseudonode': {'is-is-router-identifier': {'iso-system-id': 'EACZmZmZ'},
'psn': 2}},
'protocol-id': 'isis-level2',
'identifier': 0,
'attributes': {'node-attributes': {'node-flags': ''},
'origin': {'value': 'igp'},
'local-pref': {'pref': 100},
'as-path': {},
'ipv4-next-hop': {'global': '10.20.14.0'}}},
{'route-key': 'AAEAHwIAAAAAAAAAAAEAABICAAAEAAAargIDAAYAYgF5FFk=',
'node-descriptors': {'as-number': 6830,
'isis-node': {'iso-system-id': 'AGIBeRRZ'}},
'protocol-id': 'isis-level2',
'identifier': 0,
'attributes': {'node-attributes': {'isis-area-id': ['SQ=='],
'node-flags': '',
'dynamic-hostname': 'nl-ams02c-ns41',
'ipv4-router-id': '213.46.161.33'},
'origin': {'value': 'igp'},
'local-pref': {'pref': 100},
'as-path': {},
'ipv4-next-hop': {'global': '10.20.14.0'}}}]}}
And when checking the documentation (https://docs.opendaylight.org/en/stable-oxygen/user-guide/bgpcep-guide/bgp/bgp-user-guide-linkstate-family.html), it says:
Link-State routes mapping to topology links/nodes/prefixes is supported by BGP Topology Provider.
I guess this is the missing part.
I fixed the rib-id
in the topology .xml and now it looks better:
In [15]: url = "/restconf/operational/network-topology:network-topology/topology/aorta"
In [16]: xxx = requests.get('http://{}:{}{}'.format(odl['api']['ipaddr'],odl['api']['port'],url), auth=auth)
In [17]: xxx.json()
Out[17]:
{'topology': [{'topology-id': 'aorta',
'link': [{'link-id': 'bgpls://IsisLevel2:0/type=link&local-as=6830&local-router=1000.9999.9999.02&remote-as=6830&remote-router=1000.9999.9999',
'source': {'source-tp': 'bgpls://IsisLevel2:0/type=tp',
'source-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999.02'},
'destination': {'dest-tp': 'bgpls://IsisLevel2:0/type=tp',
'dest-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999'},
'l3-unicast-igp-topology:igp-link-attributes': {'isis-topology:isis-link-attributes': {'ted': {'te-default-metric': 0}}}},
{'link-id': 'bgpls://IsisLevel2:0/type=link&local-as=6830&local-router=1000.9999.9999.02&remote-as=6830&remote-router=3333.3333.3333',
'source': {'source-tp': 'bgpls://IsisLevel2:0/type=tp',
'source-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999.02'},
'destination': {'dest-tp': 'bgpls://IsisLevel2:0/type=tp',
'dest-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=3333.3333.3333'},
'l3-unicast-igp-topology:igp-link-attributes': {'isis-topology:isis-link-attributes': {'ted': {'te-default-metric': 0}}}}],
'server-provided': True,
'topology-types': {'odl-bgp-topology-types:bgp-linkstate-topology': {}},
'node': [{'node-id': 'bgpls://IsisLevel2:0/type=node&as=6830&router=3333.3333.3333',
'l3-unicast-igp-topology:igp-node-attributes': {'router-id': ['10.33.0.1'],
'isis-topology:isis-node-attributes': {'ted': {'te-router-id-ipv4': '10.33.0.1'},
'iso': {'iso-system-id': '3333.3333.3333'},
'net': ['49.0000.0000.0000.3333.3333.3333']},
'name': 'nl-ams02c-ns41-ISISLS'},
'termination-point': [{'tp-id': 'bgpls://IsisLevel2:0/type=tp'}]},
{'node-id': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999',
'l3-unicast-igp-topology:igp-node-attributes': {'router-id': ['10.0.99.99'],
'isis-topology:isis-node-attributes': {'ted': {'te-router-id-ipv4': '10.0.99.99'},
'iso': {'iso-system-id': '1000.9999.9999'},
'net': ['49.0000.0000.0000.1000.9999.9999']},
'name': 'nl-ams02c-ns41-ISISLS-2'},
'termination-point': [{'tp-id': 'bgpls://IsisLevel2:0/type=tp'}]},
{'node-id': 'bgpls://IsisLevel2:0/type=node&as=6830&router=0062.0179.1459',
'l3-unicast-igp-topology:igp-node-attributes': {'router-id': ['213.46.161.33'],
'isis-topology:isis-node-attributes': {'ted': {'te-router-id-ipv4': '213.46.161.33'},
'iso': {'iso-system-id': '0062.0179.1459'},
'net': ['49.0000.0000.0000.0062.0179.1459']},
'name': 'nl-ams02c-ns41'}},
{'node-id': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999.02',
'l3-unicast-igp-topology:igp-node-attributes': {'isis-topology:isis-node-attributes': {'ted': {},
'iso': {'iso-system-id': '1000.9999.9999', 'iso-pseudonode-id': '02'}}},
'termination-point': [{'tp-id': 'bgpls://IsisLevel2:0/type=tp'}]}]}]}
So, I believe that the issue now is that pathman-sr
does not know about the topology called aorta
, right ? Where this is specified ?
from pathman-sr.
In pathman_ini.py
I fixed the URL, now the webapp does not complain, but does not display anything either.
Here are the logs:
17091 2018-08-07 11:15:32.035 UTC root:<module> INFO: This is initializing the log
17091 2018-08-07 11:15:32.046 UTC root:get_url INFO: Url get Status: 200
17091 2018-08-07 11:15:32.055 UTC root:get_url INFO: Url get Status: 200
17091 2018-08-07 11:15:32.055 UTC root:get_pcep_type INFO: We have no nodes in our PCEP Topology
17091 2018-08-07 11:15:32.055 UTC root:node_structure INFO: We have no nodes in our BGP-LS topology
17091 2018-08-07 11:15:32.056 UTC root:pseudo_net_build INFO: []
17091 2018-08-07 11:15:32.068 UTC root:_get_url INFO: status code: 200
17091 2018-08-07 11:15:32.087 UTC root:get_url INFO: Url get Status: 200
17091 2018-08-07 11:15:32.089 UTC root:version_check INFO: Found ODL Release: carbon
17091 2018-08-07 11:15:32.096 UTC root:get_url INFO: Url get Status: 200
17091 2018-08-07 11:15:32.097 UTC root:netconf_list ERROR: format error in netconf node-list: {u'topology': [{u'topology-id': u'topology-netconf'}]}
17091 2018-08-07 11:15:32.097 UTC root:node_links INFO: We have no links in our BGP-LS topology
17091 2018-08-07 11:15:32.097 UTC root:node_links INFO: We have no links in our BGP-LS topology
17091 2018-08-07 11:15:32.097 UTC root:node_links INFO: We have no links in our BGP-LS topology
17091 2018-08-07 11:15:32.097 UTC root:__init__ INFO: patterned to '/pathman'
17091 2018-08-07 11:15:32.101 UTC root:__init__ INFO: Pathman REST API Launched on port 8090
17091 2018-08-07 11:15:39.351 UTC root:initialize INFO: Init 2 done - debug saved
17091 2018-08-07 11:15:39.351 UTC root:rest_interface_parser INFO: Commands Relieved: {u'option': u'topo'}
17091 2018-08-07 11:15:39.360 UTC root:get_url INFO: Url get Status: 200
17091 2018-08-07 11:15:39.368 UTC root:get_url INFO: Url get Status: 200
17091 2018-08-07 11:15:39.368 UTC root:get_pcep_type INFO: We have no nodes in our PCEP Topology
17091 2018-08-07 11:15:39.369 UTC root:node_structure INFO: We have no nodes in our BGP-LS topology
17091 2018-08-07 11:15:39.369 UTC root:pseudo_net_build INFO: []
17091 2018-08-07 11:15:39.381 UTC root:_get_url INFO: status code: 200
17091 2018-08-07 11:15:39.396 UTC root:get_url INFO: Url get Status: 200
17091 2018-08-07 11:15:39.397 UTC root:version_check INFO: Found ODL Release: carbon
17091 2018-08-07 11:15:39.406 UTC root:get_url INFO: Url get Status: 200
17091 2018-08-07 11:15:39.406 UTC root:netconf_list ERROR: format error in netconf node-list: {u'topology': [{u'topology-id': u'topology-netconf'}]}
17091 2018-08-07 11:15:39.406 UTC root:node_links INFO: We have no links in our BGP-LS topology
17091 2018-08-07 11:15:39.407 UTC root:node_links INFO: We have no links in our BGP-LS topology
17091 2018-08-07 11:15:39.407 UTC root:node_links INFO: We have no links in our BGP-LS topology
17091 2018-08-07 11:15:39.407 UTC root:topoCheck INFO: Nodes not in topo_data.py: set([])
17091 2018-08-07 11:15:39.407 UTC root:topoCheck INFO: Nodes not used: set(['sjc', 'bos', 'san', 'WA', 'DE', 'por', 'ME', 'WI', 'WV', 'HI', 'sea', 'FL', 'dxb', 'WY', 'NH', 'KS', 'NJ', 'NM', 'TX', 'LA', 'mia', 'chi', 'NC', 'ND', 'NE', 'sfc', 'TN', 'NY', 'PA', 'arn', 'nyc', 'MO', 'CT', 'sin', 'NV', 'VA', 'CO', 'alb', 'CA', 'AL', 'hst', 'AR', 'VT', 'IL', 'GA', 'IN', 'IA', 'MA', 'AZ', 'kcy', 'ID', 'nrt', 'jfk', 'MD', 'wdc', 'OK', 'dme', 'OH', 'UT', 'atl', 'MN', 'MI', 'RI', 'AK', 'MT', 'mvd', 'min', 'MS', 'SC', 'lax', 'KY', 'OR', 'SD'])
17091 2018-08-07 11:15:39.407 UTC root:getTopo INFO: Topo build with 0 nodes
17091 2018-08-07 11:15:39.408 UTC root:post INFO: {"response": [{"option": "topo", "success": true, "topology": {"nodes": [], "links": []}}]}
17091 2018-08-07 11:15:39.409 UTC root:initialize INFO: Init 2 done - debug saved
17091 2018-08-07 11:15:39.410 UTC root:rest_interface_parser INFO: Commands Relieved: {u'option': u'list_all'}
17091 2018-08-07 11:15:39.418 UTC root:get_url INFO: Url get Status: 200
17091 2018-08-07 11:15:39.418 UTC root:list_pcep_lsp INFO: We have no nodes in our PCEP Topology
17091 2018-08-07 11:15:39.419 UTC root:listAllLsp INFO: list: [], formatted: []
17091 2018-08-07 11:15:39.419 UTC root:post INFO: {"response": [{"list": [], "option": "list_all", "success": true}]}
@nikmon2 would you be so kind to advise further ?
I believe it has something to do with sid_saves = '/<snip!>/run/init/static_sids.json'
When I comment that, the webapp complains about the topology, the file itself does not exist, somehow the node-list shown in the log output about is read from somewhere.
from pathman-sr.
Hi Nikos,
The problem is still your link state topology.
I think you need to rename yours to 'example-linkstate-topology' from 'aorta'.
Or change the url pathman_sr looks for - line 93:
get_topo = 'http://%s:%s/restconf/operational/network-topology:network-topology/topology/example-linkstate-topology' %(odl_ip, odl_port)
change to:
get_topo = 'http://%s:%s/restconf/operational/network-topology:network-topology/topology/aorta' %(odl_ip, odl_port)
I have not tested that, but it seems in line with the error.
Error:
17091 2018-08-07 11:15:32.097 UTC root:netconf_list ERROR: format error in netconf node-list: {u'topology': [{u'topology-id': u'topology-netconf'}]}
17091 2018-08-07 11:15:32.097 UTC root:node_links INFO: We have no links in our BGP-LS topology
17091 2018-08-07 11:15:32.097 UTC root:node_links INFO: We have no links in our BGP-LS topology
17091 2018-08-07 11:15:32.097 UTC root:node_links INFO: We have no links in our BGP-LS topology
The sid_saves is just to allow for static SR IDs to be used, if they can't be learned from the network.
Cheers,
Nik
from pathman-sr.
Thanks @nikmon2
Changing this to aorta
depicts the nodes, but no links.
Also, when highlighting a router, it says SR enabled
PCEP enabled
but in the Node List
and the icon on the router is a red x
meaning no, which is correct in our case.
The error messages in the log am getting now are:
5448 2018-08-09 06:39:14.069 UTC root:node_structure ERROR: Node 0062.0179.1459 is missing 'termination-point'
5448 2018-08-09 06:39:14.097 UTC root:netconf_list ERROR: format error in netconf node-list: {u'topology': [{u'topology-id': u'topology-netconf'}]}
5448 2018-08-09 06:39:14.098 UTC root:node_sr_update ERROR: No sid for: nl-ams02c-ns41-ISISLS
5448 2018-08-09 06:39:14.098 UTC root:node_sr_update ERROR: No sid for: nl-ams02c-ns41-ISISLS-2
5448 2018-08-09 06:39:14.098 UTC root:node_sr_update ERROR: No sid for: nl-ams02c-ns41
5448 2018-08-09 06:39:14.098 UTC root:node_sr_update ERROR: No sid for: nl-ams02c-ns41-ISISLS-2.02
5448 2018-08-09 06:39:16.886 UTC root:node_structure ERROR: Node 0062.0179.1459 is missing 'termination-point'
5448 2018-08-09 06:39:16.929 UTC root:netconf_list ERROR: format error in netconf node-list: {u'topology': [{u'topology-id': u'topology-netconf'}]}
5448 2018-08-09 06:39:16.929 UTC root:node_sr_update ERROR: No sid for: nl-ams02c-ns41-ISISLS
5448 2018-08-09 06:39:16.929 UTC root:node_sr_update ERROR: No sid for: nl-ams02c-ns41-ISISLS-2
5448 2018-08-09 06:39:16.929 UTC root:node_sr_update ERROR: No sid for: nl-ams02c-ns41
5448 2018-08-09 06:39:16.930 UTC root:node_sr_update ERROR: No sid for: nl-ams02c-ns41-ISISLS-2.02
5448 2018-08-09 06:39:16.933 UTC root:get_links ERROR: nl-ams02c-ns41-ISISLS-2
5448 2018-08-09 06:39:16.933 UTC root:get_links ERROR: Network link missing between nl-ams02c-ns41-ISISLS-2 and nl-ams02c-ns41-ISISLS-2.02
5448 2018-08-09 06:39:16.933 UTC root:get_links ERROR: nl-ams02c-ns41-ISISLS
5448 2018-08-09 06:39:16.934 UTC root:get_links ERROR: Network link missing between nl-ams02c-ns41-ISISLS and nl-ams02c-ns41-ISISLS-2.02
Are the format errors caused by ?
get_node_isis_config = 'http://%s:%s/restconf/operational/network-topology:network-topology/topology/topology-netconf/node/{node}/yang-ext:mount/Cisco-IOS-XR-clns-isis-cfg:isis' %(odl_ip, odl_port)
get_node_ospf_config = 'http://%s:%s/restconf/operational/network-topology:network-topology/topology/topology-netconf/node/{node}/yang-ext:mount/Cisco-IOS-XR-ipv4-ospf-cfg:ospf' %(odl_ip, odl_port)
get_node_bgp_config = 'http://%s:%s/restconf/operational/network-topology:network-topology/topology/topology-netconf/node/{node}/yang-ext:mount/Cisco-IOS-XR-ipv4-bgp-cfg:bgp' %(odl_ip, odl_port)
In my case, a topology is built based on vMX logical systems (some log messages may attributed to this), but in our network, we have some tens/hundreds of IOS-XR, JUNOS, SR-OS devices.
Could you please confirm if the ERROR: No sid for:
error messages are attributed to the YANG modules mounted ? If yes, how that can be resolved ?
The most concerning error message (at least to my eyes) is ERROR: format error in netconf node-list: {u'topology': [{u'topology-id': u'topology-netconf'}]}
.
Could you please advise how to resolve those ?
from pathman-sr.
@nikmon2 thanks for all the support till now.
I would like to re-iterate that the topology issue has been solved, and pathman is able to discover the nodes (as stated in my previous message), as a matter of fact (see attachment)
The issue is that pathman_sr.py
is out-of-date a bit. More specifically, get_node_topo = 'http://%s:%s/restconf/operational/network-topology:network-topology/topology/topology-netconf' %(odl_ip, odl_port)
Which makes the function netconf_list
to error.
In [12]: url = "/restconf/operational/network-topology:network-topology/topology/topology-netconf"
In [13]: xxx = requests.get('http://{}:{}{}'.format(odl['api']['ipaddr'],odl['api']['port'],url), auth=auth)
In [14]: xxx.json()
Out[14]: {'topology': [{'topology-id': 'topology-netconf'}]}
In OpenDaylight Oxygen version, the correct (if I am not wrong) API call is
In [15]: url = "/restconf/operational/network-topology:network-topology"
In [16]: xxx = requests.get('http://{}:{}{}'.format(odl['api']['ipaddr'],odl['api']['port'],url), auth=auth)
In [17]: xxx.json()
Out[17]:
{'network-topology': {'topology': [{'topology-id': 'pcep-topology',
'topology-types': {'network-topology-pcep:topology-pcep': {}}},
{'topology-id': 'topology-netconf'},
{'topology-id': 'aorta',
'link': [{'link-id': 'bgpls://IsisLevel2:0/type=link&local-as=6830&local-router=1000.9999.9999.02&remote-as=6830&remote-router=1000.9999.9999',
'source': {'source-tp': 'bgpls://IsisLevel2:0/type=tp',
'source-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999.02'},
'destination': {'dest-tp': 'bgpls://IsisLevel2:0/type=tp',
'dest-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999'},
'l3-unicast-igp-topology:igp-link-attributes': {'isis-topology:isis-link-attributes': {'ted': {'te-default-metric': 0}}}},
{'link-id': 'bgpls://IsisLevel2:0/type=link&local-as=6830&local-router=1000.9999.9999.02&remote-as=6830&remote-router=3333.3333.3333',
'source': {'source-tp': 'bgpls://IsisLevel2:0/type=tp',
'source-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999.02'},
'destination': {'dest-tp': 'bgpls://IsisLevel2:0/type=tp',
'dest-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=3333.3333.3333'},
'l3-unicast-igp-topology:igp-link-attributes': {'isis-topology:isis-link-attributes': {'ted': {'te-default-metric': 0}}}}],
'server-provided': True,
'topology-types': {'odl-bgp-topology-types:bgp-linkstate-topology': {}},
'node': [{'node-id': 'bgpls://IsisLevel2:0/type=node&as=6830&router=3333.3333.3333',
'l3-unicast-igp-topology:igp-node-attributes': {'router-id': ['10.33.0.1'],
'isis-topology:isis-node-attributes': {'ted': {'te-router-id-ipv4': '10.33.0.1'},
'iso': {'iso-system-id': '3333.3333.3333'},
'net': ['49.0000.0000.0000.3333.3333.3333']},
'name': 'nl-ams02c-ns41-ISISLS'},
'termination-point': [{'tp-id': 'bgpls://IsisLevel2:0/type=tp'}]},
{'node-id': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999',
'l3-unicast-igp-topology:igp-node-attributes': {'router-id': ['10.0.99.99'],
'isis-topology:isis-node-attributes': {'ted': {'te-router-id-ipv4': '10.0.99.99'},
'iso': {'iso-system-id': '1000.9999.9999'},
'net': ['49.0000.0000.0000.1000.9999.9999']},
'name': 'nl-ams02c-ns41-ISISLS-2'},
'termination-point': [{'tp-id': 'bgpls://IsisLevel2:0/type=tp'}]},
{'node-id': 'bgpls://IsisLevel2:0/type=node&as=6830&router=0062.0179.1459',
'l3-unicast-igp-topology:igp-node-attributes': {'router-id': ['213.46.161.33'],
'isis-topology:isis-node-attributes': {'ted': {'te-router-id-ipv4': '213.46.161.33'},
'iso': {'iso-system-id': '0062.0179.1459'},
'net': ['49.0000.0000.0000.0062.0179.1459']},
'name': 'nl-ams02c-ns41'}},
{'node-id': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999.02',
'l3-unicast-igp-topology:igp-node-attributes': {'isis-topology:isis-node-attributes': {'ted': {},
'iso': {'iso-system-id': '1000.9999.9999',
'iso-pseudonode-id': '02'}}},
'termination-point': [{'tp-id': 'bgpls://IsisLevel2:0/type=tp'}]}]},
{'topology-id': 'example-ipv6-topology',
'server-provided': True,
'topology-types': {'odl-bgp-topology-types:bgp-ipv6-reachability-topology': {}}},
{'topology-id': 'example-linkstate-topology',
'server-provided': True,
'topology-types': {'odl-bgp-topology-types:bgp-linkstate-topology': {}}},
{'topology-id': 'example-bgp-rib',
'server-provided': True,
'topology-types': {'odl-bgp-topology-types:bgp-linkstate-topology': {}}},
{'topology-id': 'example-ipv4-topology',
'server-provided': True,
'topology-types': {'odl-bgp-topology-types:bgp-ipv4-reachability-topology': {}}}]}}
Would you be so kind and help by adjusting pathman_sr
for the OpenDaylight Oxygen release, so that it gets recognised properly in the diagnostic tools,
and make the correct api call to ODL in order to get the BGP-LS information, which is the base and absolutely necessary information for pathman_sr
to work ?
Please correct me if I am wrong. Your help is greatly appreciated.
from pathman-sr.
Hi Nikos,
'get_node_topo' is not used.
I don't think you have TE enabled on the links in your setup?
- There are no termination points in your link-state topo
- Your PCEP topo is empty.
An empty PCEP topo will cause the pathman to exit.
I will install Oxygen SR3 and see if it runs OK in my setup.
Cheers,
Nik
from pathman-sr.
Hi Nikos,
I tested pathman_sr with Oxygen SR3 and it works fine for me with IOS XR 6.2.1.
I think the issue you are seeing is related to your routers TE configuration, and possibly your ODL controllers configuration.
Your link-state output is missing attributes; ipv4-iface, ipv4-neigh and link attributes.
Yours:
'link-id': 'bgpls://IsisLevel2:0/type=link&local-as=6830&local-router=1000.9999.9999.02&remote-as=6830&remote-router=1000.9999.9999',
'source': {'source-tp': 'bgpls://IsisLevel2:0/type=tp',
'source-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999.02'},
'destination': {'dest-tp': 'bgpls://IsisLevel2:0/type=tp',
'dest-node': 'bgpls://IsisLevel2:0/type=node&as=6830&router=1000.9999.9999'},
'l3-unicast-igp-topology:igp-link-attributes': {'isis-topology:isis-link-attributes': {'ted': {'te-default-metric': 0}}}},
Mine:
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0021&remote-as=65504&remote-domain=0&remote-router=0000.0000.0024&ipv4-iface=44.0.0.21&ipv4-neigh=44.0.0.24",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=44.0.0.21",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=44.0.0.24",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0024"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
Below is my link-state output from SR3.
url = 'http://198.18.1.80:8181/restconf/operational/network-topology:network-topology/topology/example-linkstate-topology'
reply = {
"topology": [
{
"topology-id": "example-linkstate-topology",
"link": [
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0021&remote-as=65504&remote-domain=0&remote-router=0000.0000.0024&ipv4-iface=44.0.0.21&ipv4-neigh=44.0.0.24",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=44.0.0.21",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=44.0.0.24",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0024"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0030&remote-as=65504&remote-domain=0&remote-router=0000.0000.0022&ipv4-iface=49.0.0.30&ipv4-neigh=49.0.0.22",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=49.0.0.30",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=49.0.0.22",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0022"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0029&remote-as=65504&remote-domain=0&remote-router=0000.0000.0030&ipv4-iface=56.0.0.29&ipv4-neigh=56.0.0.30",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=56.0.0.29",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0029"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=56.0.0.30",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0027&remote-as=65504&remote-domain=0&remote-router=0000.0000.0022&ipv4-iface=48.0.0.27&ipv4-neigh=48.0.0.22",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=48.0.0.27",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0027"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=48.0.0.22",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0022"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0024&remote-as=65504&remote-domain=0&remote-router=0000.0000.0030&ipv4-iface=57.0.0.24&ipv4-neigh=57.0.0.30",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=57.0.0.24",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0024"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=57.0.0.30",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 125000000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0022&remote-as=65504&remote-domain=0&remote-router=0000.0000.0021&ipv4-iface=58.0.0.22&ipv4-neigh=58.0.0.21",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=58.0.0.22",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0022"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=58.0.0.21",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 125000000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0030&remote-as=65504&remote-domain=0&remote-router=0000.0000.0029&ipv4-iface=56.0.0.30&ipv4-neigh=56.0.0.29",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=56.0.0.30",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=56.0.0.29",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0029"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0028&remote-as=65504&remote-domain=0&remote-router=0000.0000.0024&ipv4-iface=51.0.0.28&ipv4-neigh=51.0.0.24",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=51.0.0.28",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0028"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=51.0.0.24",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0024"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0021&remote-as=65504&remote-domain=0&remote-router=0000.0000.0022&ipv4-iface=58.0.0.21&ipv4-neigh=58.0.0.22",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=58.0.0.21",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=58.0.0.22",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0022"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 125000000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0029&remote-as=65504&remote-domain=0&remote-router=0000.0000.0026&ipv4-iface=54.0.0.29&ipv4-neigh=54.0.0.26",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=54.0.0.29",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0029"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=54.0.0.26",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0026"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0028&remote-as=65504&remote-domain=0&remote-router=0000.0000.0030&ipv4-iface=55.0.0.28&ipv4-neigh=55.0.0.30",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=55.0.0.28",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0028"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=55.0.0.30",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0024&remote-as=65504&remote-domain=0&remote-router=0000.0000.0028&ipv4-iface=51.0.0.24&ipv4-neigh=51.0.0.28",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=51.0.0.24",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0024"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=51.0.0.28",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0028"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0021&remote-as=65504&remote-domain=0&remote-router=0000.0000.0027&ipv4-iface=45.0.0.21&ipv4-neigh=45.0.0.27",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=45.0.0.21",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=45.0.0.27",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0027"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0024&remote-as=65504&remote-domain=0&remote-router=0000.0000.0021&ipv4-iface=44.0.0.24&ipv4-neigh=44.0.0.21",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=44.0.0.24",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0024"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=44.0.0.21",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0027&remote-as=65504&remote-domain=0&remote-router=0000.0000.0021&ipv4-iface=45.0.0.27&ipv4-neigh=45.0.0.21",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=45.0.0.27",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0027"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=45.0.0.21",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0022&remote-as=65504&remote-domain=0&remote-router=0000.0000.0027&ipv4-iface=48.0.0.22&ipv4-neigh=48.0.0.27",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=48.0.0.22",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0022"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=48.0.0.27",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0027"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0030&remote-as=65504&remote-domain=0&remote-router=0000.0000.0021&ipv4-iface=46.0.0.30&ipv4-neigh=46.0.0.21",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=46.0.0.30",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=46.0.0.21",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0030&remote-as=65504&remote-domain=0&remote-router=0000.0000.0024&ipv4-iface=57.0.0.30&ipv4-neigh=57.0.0.24",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=57.0.0.30",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=57.0.0.24",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0024"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 125000000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0026&remote-as=65504&remote-domain=0&remote-router=0000.0000.0028&ipv4-iface=53.0.0.26&ipv4-neigh=53.0.0.28",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=53.0.0.26",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0026"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=53.0.0.28",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0028"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0028&remote-as=65504&remote-domain=0&remote-router=0000.0000.0026&ipv4-iface=53.0.0.28&ipv4-neigh=53.0.0.26",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=53.0.0.28",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0028"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=53.0.0.26",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0026"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0030&remote-as=65504&remote-domain=0&remote-router=0000.0000.0028&ipv4-iface=55.0.0.30&ipv4-neigh=55.0.0.28",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=55.0.0.30",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=55.0.0.28",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0028"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0026&remote-as=65504&remote-domain=0&remote-router=0000.0000.0029&ipv4-iface=54.0.0.26&ipv4-neigh=54.0.0.29",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=54.0.0.26",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0026"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=54.0.0.29",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0029"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0021&remote-as=65504&remote-domain=0&remote-router=0000.0000.0030&ipv4-iface=46.0.0.21&ipv4-neigh=46.0.0.30",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=46.0.0.21",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=46.0.0.30",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
},
{
"link-id": "bgpls://IsisLevel2:0/type=link&local-as=65504&local-domain=0&local-router=0000.0000.0022&remote-as=65504&remote-domain=0&remote-router=0000.0000.0030&ipv4-iface=49.0.0.22&ipv4-neigh=49.0.0.30",
"source": {
"source-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=49.0.0.22",
"source-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0022"
},
"destination": {
"dest-tp": "bgpls://IsisLevel2:0/type=tp&ipv4=49.0.0.30",
"dest-node": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030"
},
"l3-unicast-igp-topology:igp-link-attributes": {
"metric": 10,
"isis-topology:isis-link-attributes": {
"ted": {
"te-default-metric": 10,
"max-resv-link-bandwidth": 12500,
"max-link-bandwidth": 1250000,
"unreserved-bandwidth": [
{
"priority": 1,
"bandwidth": 12500
},
{
"priority": 0,
"bandwidth": 12500
},
{
"priority": 3,
"bandwidth": 12500
},
{
"priority": 2,
"bandwidth": 12500
},
{
"priority": 5,
"bandwidth": 12500
},
{
"priority": 4,
"bandwidth": 12500
},
{
"priority": 7,
"bandwidth": 12500
},
{
"priority": 6,
"bandwidth": 12500
}
],
"color": 0
}
}
}
}
],
"server-provided": true,
"topology-types": {
"odl-bgp-topology-types:bgp-linkstate-topology": {}
},
"node": [
{
"node-id": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0029",
"l3-unicast-igp-topology:igp-node-attributes": {
"router-id": [
"198.19.1.29"
],
"isis-topology:isis-node-attributes": {
"ted": {
"te-router-id-ipv4": "198.19.1.29"
},
"iso": {
"iso-system-id": "0000.0000.0029"
},
"net": [
"72.0000.0000.0000.0000.0000.0029"
]
},
"prefix": [
{
"prefix": "11.11.7.0/24",
"metric": 0
},
{
"prefix": "198.19.1.29/32",
"metric": 10
},
{
"prefix": "56.0.0.0/24",
"metric": 10
},
{
"prefix": "54.0.0.0/24",
"metric": 10
},
{
"prefix": "10.16.0.0/16",
"metric": 0
},
{
"prefix": "198.18.128.0/18",
"metric": 0
}
],
"name": "sfc"
},
"termination-point": [
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=56.0.0.29",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"56.0.0.29"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=54.0.0.29",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"54.0.0.29"
]
}
}
]
},
{
"node-id": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0030",
"l3-unicast-igp-topology:igp-node-attributes": {
"router-id": [
"198.19.1.30"
],
"isis-topology:isis-node-attributes": {
"ted": {
"te-router-id-ipv4": "198.19.1.30"
},
"iso": {
"iso-system-id": "0000.0000.0030"
},
"net": [
"72.0000.0000.0000.0000.0000.0030"
]
},
"prefix": [
{
"prefix": "56.0.0.0/24",
"metric": 10
},
{
"prefix": "55.0.0.0/24",
"metric": 10
},
{
"prefix": "10.16.0.0/16",
"metric": 0
},
{
"prefix": "198.18.128.0/18",
"metric": 0
},
{
"prefix": "49.0.0.0/24",
"metric": 10
},
{
"prefix": "11.11.8.0/24",
"metric": 0
},
{
"prefix": "57.0.0.0/24",
"metric": 10
},
{
"prefix": "46.0.0.0/24",
"metric": 10
},
{
"prefix": "198.19.1.30/32",
"metric": 10
}
],
"name": "sjc"
},
"termination-point": [
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=55.0.0.30",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"55.0.0.30"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=57.0.0.30",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"57.0.0.30"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=49.0.0.30",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"49.0.0.30"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=56.0.0.30",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"56.0.0.30"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=46.0.0.30",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"46.0.0.30"
]
}
}
]
},
{
"node-id": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0021",
"l3-unicast-igp-topology:igp-node-attributes": {
"router-id": [
"198.19.1.21"
],
"isis-topology:isis-node-attributes": {
"ted": {
"te-router-id-ipv4": "198.19.1.21"
},
"iso": {
"iso-system-id": "0000.0000.0021"
},
"net": [
"72.0000.0000.0000.0000.0000.0021"
]
},
"prefix": [
{
"prefix": "45.0.0.0/24",
"metric": 10
},
{
"prefix": "42.0.0.0/24",
"metric": 10
},
{
"prefix": "11.11.1.0/24",
"metric": 0
},
{
"prefix": "47.0.0.0/24",
"metric": 10
},
{
"prefix": "58.0.0.0/24",
"metric": 10
},
{
"prefix": "10.16.0.0/16",
"metric": 0
},
{
"prefix": "198.18.128.0/18",
"metric": 0
},
{
"prefix": "39.0.0.0/24",
"metric": 10
},
{
"prefix": "44.0.0.0/24",
"metric": 10
},
{
"prefix": "198.19.1.21/32",
"metric": 10
},
{
"prefix": "46.0.0.0/24",
"metric": 10
}
],
"name": "kcy"
},
"termination-point": [
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=44.0.0.21",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"44.0.0.21"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=45.0.0.21",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"45.0.0.21"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=58.0.0.21",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"58.0.0.21"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=46.0.0.21",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"46.0.0.21"
]
}
}
]
},
{
"node-id": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0022",
"l3-unicast-igp-topology:igp-node-attributes": {
"router-id": [
"198.19.1.22"
],
"isis-topology:isis-node-attributes": {
"ted": {
"te-router-id-ipv4": "198.19.1.22"
},
"iso": {
"iso-system-id": "0000.0000.0022"
},
"net": [
"72.0000.0000.0000.0000.0000.0022"
]
},
"prefix": [
{
"prefix": "58.0.0.0/24",
"metric": 10
},
{
"prefix": "10.16.0.0/16",
"metric": 0
},
{
"prefix": "198.18.128.0/18",
"metric": 0
},
{
"prefix": "49.0.0.0/24",
"metric": 10
},
{
"prefix": "198.19.1.22/32",
"metric": 10
},
{
"prefix": "11.11.2.0/24",
"metric": 0
},
{
"prefix": "48.0.0.0/24",
"metric": 10
}
],
"name": "lax"
},
"termination-point": [
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=48.0.0.22",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"48.0.0.22"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=49.0.0.22",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"49.0.0.22"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=58.0.0.22",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"58.0.0.22"
]
}
}
]
},
{
"node-id": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0024",
"l3-unicast-igp-topology:igp-node-attributes": {
"router-id": [
"198.19.1.24"
],
"isis-topology:isis-node-attributes": {
"ted": {
"te-router-id-ipv4": "198.19.1.24"
},
"iso": {
"iso-system-id": "0000.0000.0024"
},
"net": [
"72.0000.0000.0000.0000.0000.0024"
]
},
"prefix": [
{
"prefix": "11.11.3.0/24",
"metric": 0
},
{
"prefix": "10.16.0.0/16",
"metric": 0
},
{
"prefix": "198.18.128.0/18",
"metric": 0
},
{
"prefix": "57.0.0.0/24",
"metric": 10
},
{
"prefix": "51.0.0.0/24",
"metric": 10
},
{
"prefix": "40.0.0.0/24",
"metric": 10
},
{
"prefix": "44.0.0.0/24",
"metric": 10
},
{
"prefix": "198.19.1.24/32",
"metric": 10
}
],
"name": "min"
},
"termination-point": [
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=51.0.0.24",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"51.0.0.24"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=57.0.0.24",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"57.0.0.24"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=44.0.0.24",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"44.0.0.24"
]
}
}
]
},
{
"node-id": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0026",
"l3-unicast-igp-topology:igp-node-attributes": {
"router-id": [
"198.19.1.26"
],
"isis-topology:isis-node-attributes": {
"ted": {
"te-router-id-ipv4": "198.19.1.26"
},
"iso": {
"iso-system-id": "0000.0000.0026"
},
"net": [
"72.0000.0000.0000.0000.0000.0026"
]
},
"prefix": [
{
"prefix": "11.11.4.0/24",
"metric": 0
},
{
"prefix": "198.19.1.26/32",
"metric": 10
},
{
"prefix": "53.0.0.0/24",
"metric": 10
},
{
"prefix": "10.16.0.0/16",
"metric": 0
},
{
"prefix": "10.0.0.52/30",
"metric": 0
},
{
"prefix": "198.18.128.0/18",
"metric": 0
},
{
"prefix": "54.0.0.0/24",
"metric": 10
}
],
"name": "por"
},
"termination-point": [
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=53.0.0.26",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"53.0.0.26"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=54.0.0.26",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"54.0.0.26"
]
}
}
]
},
{
"node-id": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0027",
"l3-unicast-igp-topology:igp-node-attributes": {
"router-id": [
"198.19.1.27"
],
"isis-topology:isis-node-attributes": {
"ted": {
"te-router-id-ipv4": "198.19.1.27"
},
"iso": {
"iso-system-id": "0000.0000.0027"
},
"net": [
"72.0000.0000.0000.0000.0000.0027"
]
},
"prefix": [
{
"prefix": "45.0.0.0/24",
"metric": 10
},
{
"prefix": "10.0.0.56/30",
"metric": 0
},
{
"prefix": "10.16.0.0/16",
"metric": 0
},
{
"prefix": "198.18.128.0/18",
"metric": 0
},
{
"prefix": "10.0.0.60/30",
"metric": 0
},
{
"prefix": "11.11.5.0/24",
"metric": 0
},
{
"prefix": "198.19.1.27/32",
"metric": 10
},
{
"prefix": "48.0.0.0/24",
"metric": 10
}
],
"name": "san"
},
"termination-point": [
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=45.0.0.27",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"45.0.0.27"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=48.0.0.27",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"48.0.0.27"
]
}
}
]
},
{
"node-id": "bgpls://IsisLevel2:0/type=node&as=65504&domain=0&router=0000.0000.0028",
"l3-unicast-igp-topology:igp-node-attributes": {
"router-id": [
"198.19.1.28"
],
"isis-topology:isis-node-attributes": {
"ted": {
"te-router-id-ipv4": "198.19.1.28"
},
"iso": {
"iso-system-id": "0000.0000.0028"
},
"net": [
"72.0000.0000.0000.0000.0000.0028"
]
},
"prefix": [
{
"prefix": "53.0.0.0/24",
"metric": 10
},
{
"prefix": "55.0.0.0/24",
"metric": 10
},
{
"prefix": "10.16.0.0/16",
"metric": 0
},
{
"prefix": "198.18.128.0/18",
"metric": 0
},
{
"prefix": "51.0.0.0/24",
"metric": 10
},
{
"prefix": "198.19.1.28/32",
"metric": 10
},
{
"prefix": "11.11.6.0/24",
"metric": 0
}
],
"name": "sea"
},
"termination-point": [
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=55.0.0.28",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"55.0.0.28"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=51.0.0.28",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"51.0.0.28"
]
}
},
{
"tp-id": "bgpls://IsisLevel2:0/type=tp&ipv4=53.0.0.28",
"l3-unicast-igp-topology:igp-termination-point-attributes": {
"ip-address": [
"53.0.0.28"
]
}
}
]
}
]
}
]
}
Below is the Pcep topology output.
url = 'http://198.18.1.80:8181/restconf/operational/network-topology:network-topology/topology/pcep-topology'
reply = {
"topology": [
{
"topology-id": "pcep-topology",
"node": [
{
"node-id": "pcc://198.19.1.30",
"network-topology-pcep:path-computation-client": {
"ip-address": "198.19.1.30",
"state-sync": "synchronized",
"stateful-tlv": {
"odl-pcep-ietf-stateful07:stateful": {
"lsp-update-capability": true,
"odl-pcep-ietf-initiated00:initiation": true
}
}
},
"network-pcep-topology-stats:pcep-session-state": {
"synchronized": true,
"local-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.18.1.80",
"session-id": 0
},
"session-duration": "0:00:57:11",
"messages": {
"sent-msg-count": 114,
"odl-pcep-stateful-stats:sent-upd-msg-count": 0,
"odl-pcep-stateful-stats:sent-init-msg-count": 0,
"odl-pcep-stateful-stats:received-rpt-msg-count": 1,
"odl-pcep-stateful-stats:last-received-rpt-msg-timestamp": 1535314887,
"reply-time": {
"max-time": 0,
"average-time": 0,
"min-time": 0
},
"unknown-msg-received": 0,
"received-msg-count": 115,
"last-sent-msg-timestamp": 1535318307,
"error-messages": {
"received-error-msg-count": 0,
"sent-error-msg-count": 0,
"last-sent-error": {},
"last-received-error": {}
}
},
"peer-capabilities": {
"odl-pcep-stateful-stats:instantiation": true,
"odl-pcep-stateful-stats:active": true,
"odl-pcep-stateful-stats:stateful": true
},
"delegated-lsps-count": 0,
"peer-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.19.1.30",
"session-id": 2
}
}
},
{
"node-id": "pcc://198.19.1.21",
"network-topology-pcep:path-computation-client": {
"ip-address": "198.19.1.21",
"state-sync": "synchronized",
"stateful-tlv": {
"odl-pcep-ietf-stateful07:stateful": {
"lsp-update-capability": true,
"odl-pcep-ietf-initiated00:initiation": true
}
}
},
"network-pcep-topology-stats:pcep-session-state": {
"synchronized": true,
"local-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.18.1.80",
"session-id": 0
},
"session-duration": "0:00:57:11",
"messages": {
"sent-msg-count": 114,
"odl-pcep-stateful-stats:sent-upd-msg-count": 0,
"odl-pcep-stateful-stats:sent-init-msg-count": 0,
"odl-pcep-stateful-stats:received-rpt-msg-count": 1,
"odl-pcep-stateful-stats:last-received-rpt-msg-timestamp": 1535314887,
"reply-time": {
"max-time": 0,
"average-time": 0,
"min-time": 0
},
"unknown-msg-received": 0,
"received-msg-count": 115,
"last-sent-msg-timestamp": 1535318307,
"error-messages": {
"received-error-msg-count": 0,
"sent-error-msg-count": 0,
"last-sent-error": {},
"last-received-error": {}
}
},
"peer-capabilities": {
"odl-pcep-stateful-stats:instantiation": true,
"odl-pcep-stateful-stats:active": true,
"odl-pcep-stateful-stats:stateful": true
},
"delegated-lsps-count": 0,
"peer-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.19.1.21",
"session-id": 2
}
}
},
{
"node-id": "pcc://198.19.1.27",
"network-topology-pcep:path-computation-client": {
"ip-address": "198.19.1.27",
"state-sync": "synchronized",
"stateful-tlv": {
"odl-pcep-ietf-stateful07:stateful": {
"lsp-update-capability": true,
"odl-pcep-ietf-initiated00:initiation": true
}
}
},
"network-pcep-topology-stats:pcep-session-state": {
"synchronized": true,
"local-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.18.1.80",
"session-id": 0
},
"session-duration": "0:00:57:13",
"messages": {
"sent-msg-count": 114,
"odl-pcep-stateful-stats:sent-upd-msg-count": 0,
"odl-pcep-stateful-stats:sent-init-msg-count": 0,
"odl-pcep-stateful-stats:received-rpt-msg-count": 1,
"odl-pcep-stateful-stats:last-received-rpt-msg-timestamp": 1535314885,
"reply-time": {
"max-time": 0,
"average-time": 0,
"min-time": 0
},
"unknown-msg-received": 0,
"received-msg-count": 115,
"last-sent-msg-timestamp": 1535318305,
"error-messages": {
"received-error-msg-count": 0,
"sent-error-msg-count": 0,
"last-sent-error": {},
"last-received-error": {}
}
},
"peer-capabilities": {
"odl-pcep-stateful-stats:instantiation": true,
"odl-pcep-stateful-stats:active": true,
"odl-pcep-stateful-stats:stateful": true
},
"delegated-lsps-count": 0,
"peer-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.19.1.27",
"session-id": 2
}
}
},
{
"node-id": "pcc://198.19.1.26",
"network-topology-pcep:path-computation-client": {
"ip-address": "198.19.1.26",
"state-sync": "synchronized",
"stateful-tlv": {
"odl-pcep-ietf-stateful07:stateful": {
"lsp-update-capability": true,
"odl-pcep-ietf-initiated00:initiation": true
}
}
},
"network-pcep-topology-stats:pcep-session-state": {
"synchronized": true,
"local-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.18.1.80",
"session-id": 0
},
"session-duration": "0:00:57:14",
"messages": {
"sent-msg-count": 114,
"odl-pcep-stateful-stats:sent-upd-msg-count": 0,
"odl-pcep-stateful-stats:sent-init-msg-count": 0,
"odl-pcep-stateful-stats:received-rpt-msg-count": 1,
"odl-pcep-stateful-stats:last-received-rpt-msg-timestamp": 1535314884,
"reply-time": {
"max-time": 0,
"average-time": 0,
"min-time": 0
},
"unknown-msg-received": 0,
"received-msg-count": 115,
"last-sent-msg-timestamp": 1535318304,
"error-messages": {
"received-error-msg-count": 0,
"sent-error-msg-count": 0,
"last-sent-error": {},
"last-received-error": {}
}
},
"peer-capabilities": {
"odl-pcep-stateful-stats:instantiation": true,
"odl-pcep-stateful-stats:active": true,
"odl-pcep-stateful-stats:stateful": true
},
"delegated-lsps-count": 0,
"peer-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.19.1.26",
"session-id": 2
}
}
},
{
"node-id": "pcc://198.19.1.29",
"network-topology-pcep:path-computation-client": {
"ip-address": "198.19.1.29",
"state-sync": "synchronized",
"stateful-tlv": {
"odl-pcep-ietf-stateful07:stateful": {
"lsp-update-capability": true,
"odl-pcep-ietf-initiated00:initiation": true
}
}
},
"network-pcep-topology-stats:pcep-session-state": {
"synchronized": true,
"local-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.18.1.80",
"session-id": 0
},
"session-duration": "0:00:57:14",
"messages": {
"sent-msg-count": 114,
"odl-pcep-stateful-stats:sent-upd-msg-count": 0,
"odl-pcep-stateful-stats:sent-init-msg-count": 0,
"odl-pcep-stateful-stats:received-rpt-msg-count": 1,
"odl-pcep-stateful-stats:last-received-rpt-msg-timestamp": 1535314884,
"reply-time": {
"max-time": 0,
"average-time": 0,
"min-time": 0
},
"unknown-msg-received": 0,
"received-msg-count": 115,
"last-sent-msg-timestamp": 1535318304,
"error-messages": {
"received-error-msg-count": 0,
"sent-error-msg-count": 0,
"last-sent-error": {},
"last-received-error": {}
}
},
"peer-capabilities": {
"odl-pcep-stateful-stats:instantiation": true,
"odl-pcep-stateful-stats:active": true,
"odl-pcep-stateful-stats:stateful": true
},
"delegated-lsps-count": 0,
"peer-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.19.1.29",
"session-id": 2
}
}
},
{
"node-id": "pcc://198.19.1.28",
"network-topology-pcep:path-computation-client": {
"ip-address": "198.19.1.28",
"state-sync": "synchronized",
"stateful-tlv": {
"odl-pcep-ietf-stateful07:stateful": {
"lsp-update-capability": true,
"odl-pcep-ietf-initiated00:initiation": true
}
}
},
"network-pcep-topology-stats:pcep-session-state": {
"synchronized": true,
"local-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.18.1.80",
"session-id": 0
},
"session-duration": "0:00:57:11",
"messages": {
"sent-msg-count": 114,
"odl-pcep-stateful-stats:sent-upd-msg-count": 0,
"odl-pcep-stateful-stats:sent-init-msg-count": 0,
"odl-pcep-stateful-stats:received-rpt-msg-count": 1,
"odl-pcep-stateful-stats:last-received-rpt-msg-timestamp": 1535314887,
"reply-time": {
"max-time": 0,
"average-time": 0,
"min-time": 0
},
"unknown-msg-received": 0,
"received-msg-count": 115,
"last-sent-msg-timestamp": 1535318307,
"error-messages": {
"received-error-msg-count": 0,
"sent-error-msg-count": 0,
"last-sent-error": {},
"last-received-error": {}
}
},
"peer-capabilities": {
"odl-pcep-stateful-stats:instantiation": true,
"odl-pcep-stateful-stats:active": true,
"odl-pcep-stateful-stats:stateful": true
},
"delegated-lsps-count": 0,
"peer-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.19.1.28",
"session-id": 2
}
}
},
{
"node-id": "pcc://198.19.1.22",
"network-topology-pcep:path-computation-client": {
"ip-address": "198.19.1.22",
"state-sync": "synchronized",
"reported-lsp": [
{
"name": "lax -> min",
"path": [
{
"lsp-id": 2,
"ero": {
"processing-rule": false,
"ignore": false,
"subobject": [
{
"loose": false,
"odl-pcep-segment-routing:c-flag": false,
"odl-pcep-segment-routing:sid-type": "ipv4-node-id",
"odl-pcep-segment-routing:sid": 16030,
"odl-pcep-segment-routing:ip-address": "198.19.1.30",
"odl-pcep-segment-routing:m-flag": true
},
{
"loose": false,
"odl-pcep-segment-routing:c-flag": false,
"odl-pcep-segment-routing:sid-type": "ipv4-node-id",
"odl-pcep-segment-routing:sid": 16021,
"odl-pcep-segment-routing:ip-address": "198.19.1.21",
"odl-pcep-segment-routing:m-flag": true
},
{
"loose": false,
"odl-pcep-segment-routing:c-flag": false,
"odl-pcep-segment-routing:sid-type": "ipv4-node-id",
"odl-pcep-segment-routing:sid": 16024,
"odl-pcep-segment-routing:ip-address": "198.19.1.24",
"odl-pcep-segment-routing:m-flag": true
}
]
},
"bandwidth": {
"processing-rule": false,
"ignore": false,
"bandwidth": "AAAAAA=="
},
"lspa": {
"include-any": 0,
"processing-rule": false,
"ignore": false,
"hold-priority": 7,
"include-all": 0,
"setup-priority": 7,
"local-protection-desired": false,
"tlvs": {},
"exclude-any": 0
},
"odl-pcep-ietf-stateful07:lsp": {
"remove": false,
"ignore": false,
"operational": "up",
"sync": false,
"delegate": true,
"tlvs": {
"symbolic-path-name": {
"path-name": "bGF4IC0+IG1pbg=="
},
"lsp-identifiers": {
"tunnel-id": 1,
"lsp-id": 2,
"ipv4": {
"ipv4-tunnel-sender-address": "198.19.1.22",
"ipv4-extended-tunnel-id": "198.19.1.24",
"ipv4-tunnel-endpoint-address": "198.19.1.24"
}
},
"path-binding": {
"mpls-label": 24006
}
},
"processing-rule": false,
"plsp-id": 2,
"administrative": true,
"odl-pcep-ietf-initiated00:create": true
}
}
]
}
],
"stateful-tlv": {
"odl-pcep-ietf-stateful07:stateful": {
"lsp-update-capability": true,
"odl-pcep-ietf-initiated00:initiation": true
}
}
},
"network-pcep-topology-stats:pcep-session-state": {
"synchronized": true,
"local-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.18.1.80",
"session-id": 0
},
"session-duration": "0:00:57:08",
"messages": {
"sent-msg-count": 114,
"odl-pcep-stateful-stats:sent-upd-msg-count": 0,
"odl-pcep-stateful-stats:sent-init-msg-count": 1,
"odl-pcep-stateful-stats:received-rpt-msg-count": 3,
"odl-pcep-stateful-stats:last-received-rpt-msg-timestamp": 1535317629,
"reply-time": {
"max-time": 200,
"average-time": 200,
"min-time": 200
},
"unknown-msg-received": 0,
"received-msg-count": 116,
"last-sent-msg-timestamp": 1535318289,
"error-messages": {
"received-error-msg-count": 0,
"sent-error-msg-count": 0,
"last-sent-error": {},
"last-received-error": {}
}
},
"peer-capabilities": {
"odl-pcep-stateful-stats:instantiation": true,
"odl-pcep-stateful-stats:active": true,
"odl-pcep-stateful-stats:stateful": true
},
"delegated-lsps-count": 1,
"peer-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.19.1.22",
"session-id": 2
}
}
},
{
"node-id": "pcc://198.19.1.24",
"network-topology-pcep:path-computation-client": {
"ip-address": "198.19.1.24",
"state-sync": "synchronized",
"stateful-tlv": {
"odl-pcep-ietf-stateful07:stateful": {
"lsp-update-capability": true,
"odl-pcep-ietf-initiated00:initiation": true
}
}
},
"network-pcep-topology-stats:pcep-session-state": {
"synchronized": true,
"local-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.18.1.80",
"session-id": 1
},
"session-duration": "0:00:57:07",
"messages": {
"sent-msg-count": 114,
"odl-pcep-stateful-stats:sent-upd-msg-count": 0,
"odl-pcep-stateful-stats:sent-init-msg-count": 0,
"odl-pcep-stateful-stats:received-rpt-msg-count": 1,
"odl-pcep-stateful-stats:last-received-rpt-msg-timestamp": 1535314891,
"reply-time": {
"max-time": 0,
"average-time": 0,
"min-time": 0
},
"unknown-msg-received": 0,
"received-msg-count": 115,
"last-sent-msg-timestamp": 1535318311,
"error-messages": {
"received-error-msg-count": 0,
"sent-error-msg-count": 0,
"last-sent-error": {},
"last-received-error": {}
}
},
"peer-capabilities": {
"odl-pcep-stateful-stats:instantiation": true,
"odl-pcep-stateful-stats:active": true,
"odl-pcep-stateful-stats:stateful": true
},
"delegated-lsps-count": 0,
"peer-pref": {
"keepalive": 30,
"deadtimer": 120,
"ip-address": "198.19.1.24",
"session-id": 2
}
}
}
],
"topology-types": {
"network-topology-pcep:topology-pcep": {}
}
}
]
}
You can see in my pic, each node has a green PC and SR symbol, showing that they have been recognized as PCEP nodes configured for SR. This is not required to get your links listed.
Cheers,
Nik
from pathman-sr.
Thanks a lot!
The issue was that in my case, the BGP-LS table didn't had IP prefixes in. And now I can see the links drawn.
Not sure, what you mean by termination points
though ?
I did not configure PCEP nor SegmentRouting yet. There is one more thing to ask you if possible;
the tooltip says PCEP enabled: yes
and SR enabled: yes
, while everywhere else has the value of no
(correctly)
Because it can be a bit misleading, do you have maybe a fix for that ?
from pathman-sr.
actually, am gonna close this issue, because the original purpose of it was to depict the BGP-LS topology, and that was achieved.
thank you very much for the support.
from pathman-sr.
The most concerning error message (at least to my eyes) is ERROR: format error in netconf node-list: {u'topology': [{u'topology-id': u'topology-netconf'}]}.
@nskalis , may I ask you how did you resolve this? i had a very similar issue as you
from pathman-sr.
Hello @nikmon2 @nskalis , Thank you so much for discussing this issue so deeper here. I would like to ask the following doubt here where I get blocked in implementing the above scenario,
I'm having a single vendor router with BGP-LS and netconf capabilities. I have successfully established the BGP-LS session between the router and ODL. The issue is while getting the linkstate-topology I'm having empty list of nodes and links as you can see below,
url = http://localhost:8181/restconf/operational/network-topology:network-topology
Reply = {
"network-topology": {
"topology": [
{
"topology-id": "bgp-example-linkstate-topology",
"server-provided": true,
"topology-types": {
"odl-bgp-topology-types:bgp-linkstate-topology": {}
}
},
{
"topology-id": "pcep-topology",
"topology-types": {
"network-topology-pcep:topology-pcep": {}
}
},
{
"topology-id": "topology-netconf",
"node": [
{
"node-id": "vsim1",
"netconf-node-topology:unavailable-capabilities": {
"unavailable-capability": [
....
]
},
"netconf-node-topology:available-capabilities": {
"available-capability": [
...........
]
},
"netconf-node-topology:host": "10.10.10.1",
"netconf-node-topology:connection-status": "connected",
"netconf-node-topology:port": 830
}
]
},
{
"topology-id": "bgp-example-ipv4-topology",
"server-provided": true,
"topology-types": {
"odl-bgp-topology-types:bgp-ipv4-reachability-topology": {}
}
}
]
}
}
Router session with ODL is given as:
show router bgp neighbor "10.10.10.10"
BGP Neighbor
Peer : 10.10.10.10
Description : (Not Specified)
Group : SDN
Peer AS : 101 Peer Port : 50286
Peer Address : 10.10.10.10
Local AS : 65001 Local Port : 179
Local Address : 10.10.10.3
Peer Type : External Dynamic Peer : No
State : Established Last State : Established
Last Event : recvOpen
Last Error : Cease (Connection Collision Resolution)
Local Family : IPv4 BGP-LS
Remote Family : IPv4 BGP-LS
Hold Time : 90 Keep Alive : 30
Min Hold Time : 0
Active Hold Time : 90 Active Keep Alive : 30
Cluster Id : None
Preference : 170 Num of Update Flaps : 0
Input Queue : 0 Output Queue : 0
Input Messages : 2534 Output Messages : 2534
Input Octets : 48210 Output Octets : 48366
Input Updates : 2 Output Updates : 1
Input RtRefresh : 0 Output RtRefresh : 0
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Disabled Stale Routes Time : n/a
Restart Time : n/a
Long-Lived GR : Disabled
Advertise Inactive : Disabled Peer Tracking : Disabled
Auth key chain : n/a
Disable Cap Nego : Disabled Bfd Enabled : Disabled
Default Route Tgt : Disabled
Aigp Metric : Disabled Split Horizon : Disabled
Damp Peer Oscillatio*: Disabled Update Errors : 0
GR Notification : Disabled Fault Tolerance : Disabled
Rem Idle Hold Time : 00h00m00s
Next-Hop Unchanged : n/a
L2 VPN Cisco Interop : Disabled
sel-lbl-ipv4-install : Disabled
Local Capability : RtRefresh MPBGP 4byte ASN
Remote Capability : RtRefresh MPBGP 4byte ASN
Routes Resolve To St*: Disabled
Local AddPath Capabi*: Disabled
Remote AddPath Capab*: Send - None
: Receive - None
Import Policy : None Specified - Default Reject
Export Policy : None Specified - Default Reject
Origin Validation : n/a
Add EBGP Link-Bw : n/a
Aggr EBGP Link-Bw : n/a
Send EBGP Link-Bw : n/a
Accept EBGP Link-Bw : n/a
Adv-ipv6-next-hop : n/a
Ext-nh-encoding : n/a
Remote Ext-nh-encodi*: n/a
Convergence Sent-EOR : ipv4
Convergence Recv-EOR : ipv4
Exceeded min-wait : Unknown
Ebgp Pref : 170 Ibgp Pref : 170
Ebgp Label Pref : 170 Ibgp Label Pref : 170
Received Paths : 0
Backup IPv4 : 0 Backup IPv6 : 0
Backup VPN-IPv4 : 0 Backup VPN-IPv6 : 0
Backup Label-IPv4 : 0 Backup Label-IPv6 : 0
Ingress prefix counters per family.
IPv4 received : 0 IPv6 received : 0
IPv4 active : 0 IPv6 active : 0
IPv4 suppressed : 0 IPv6 suppressed : 0
IPv4 rejected : 0 IPv6 rejected : 0
VPN-IPv4 received : 0 VPN-IPv6 received : 0
VPN-IPv4 active : 0 VPN-IPv6 active : 0
VPN-IPv4 suppressed : 0 VPN-IPv6 suppressed : 0
VPN-IPv4 rejected : 0 VPN-IPv6 rejected : 0
Label-IPv4 received : 0 Label-IPv6 received : 0
Label-IPv4 active : 0 Label-IPv6 active : 0
Label-IPv4 suppressed: 0 Label-IPv6 suppressed: 0
Label-IPv4 rejected : 0 Label-IPv6 rejected : 0
MVPN-IPv4 received : 0 MVPN-IPv6 received : 0
MVPN-IPv4 active : 0 MVPN-IPv6 active : 0
MVPN-IPv4 suppressed : 0 MVPN-IPv6 suppressed : 0
MVPN-IPv4 rejected : 0 MVPN-IPv6 rejected : 0
Mcast-IPv4 received : 0 Mcast-IPv6 received : 0
Mcast-IPv4 active : 0 Mcast-IPv6 active : 0
Mcast-IPv4 suppressed: 0 Mcast-IPv6 suppressed: 0
Mcast-IPv4 rejected : 0 Mcast-IPv6 rejected : 0
Mc-VPN-IPv4 received : 0 Mc-VPN-IPv6 received : 0
Mc-VPN-IPv4 active : 0 Mc-VPN-IPv6 active : 0
Mc-VPN-IPv4 suppress*: 0 Mc-VPN-IPv6 suppress*: 0
Mc-VPN-IPv4 rejected : 0 Mc-VPN-IPv6 rejected : 0
MDT-Safi received : 0 RT-Constrnt received : 0
MDT-Safi active : 0 RT-Constrnt active : 0
MDT-Safi suppressed : 0 RT-Constrnt suppress*: 0
MDT-Safi rejected : 0 RT-Constrnt rejected : 0
L2-VPN received : 0 EVPN received : 0
L2-VPN active : 0 EVPN active : 0
L2-VPN suppressed : 0 EVPN suppressed : 0
L2-VPN rejected : 0 EVPN rejected : 0
Flow-IPv4 received : 0 Flow-IPv6 received : 0
Flow-IPv4 active : 0 Flow-IPv6 active : 0
Flow-IPv4 suppressed : 0 Flow-IPv6 suppressed : 0
Flow-IPv4 rejected : 0 Flow-IPv6 rejected : 0
MS-PW received : 0 BGP-LS received : 0
MS-PW active : 0 BGP-LS active : 0
MS-PW suppressed : 0 BGP-LS suppressed : 0
MS-PW rejected : 0 BGP-LS rejected : 0
SRPLCY-IPV4 received : 0 SRPLCY-IPV6 received : 0
SRPLCY-IPV4 active : 0 SRPLCY-IPV6 active : 0
SRPLCY-IPV4 suppress*: 0 SRPLCY-IPV6 suppress*: 0
SRPLCY-IPV4 rejected : 0 SRPLCY-IPV6 rejected : 0
* indicates that the corresponding row element may have been truncated.
Neighbors shown : 1
Can you please let me know where I'm doing wrong.
Thanks,Vignesh.
from pathman-sr.
Related Issues (20)
- Observing "build_odl_topology ERROR: <type 'exceptions.KeyError'>" in pathman.log HOT 17
- gulp clean && gulp build is deleting vendor directory HOT 1
- Error While Deploying SR Tunnel using Pathman HOT 7
- pathman-sr Can't be accessed HOT 1
- Unable to finish bower install HOT 1
- Issue trying to deploy a new SR path on Juniper MX HOT 28
- GET_TOPOLOGY_INVALID : BGP-LS Topology - ODL Nitrogen HOT 9
- ODL topology data is invalid HOT 2
- not able to deploy SRTE in pathman-sr HOT 2
- Next-UI says unsuccessful deployed while it is successful on ODL 14.2 HOT 3
- About sr and sfc
- The path has been refused by controller and has not been deployed. HOT 1
- root:build_odl_topology ERROR: <type 'exceptions.KeyError'>
- pathman_sr cant get topology
- Video overview in README.md is private?
- About install pathman-sr problem HOT 3
- Should I run this app along with the ODL controller? HOT 7
- Error while bringing up pathman-sr HOT 6
- Issue trying to deploy a new SR path. HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pathman-sr.