Considering the three topologies documented on datamodel repo (see links below), if you create a connection between Ampath3:50 and Sax01:50, since Sax01 is directly attached to its neighbor domain (Ampath), the breakdown connections will be missing one item:
curl -s -X POST -H 'Content-type: application/json' http://0.0.0.0:8080/SDX-Controller/1.0.0/connection -d '{"name": "VLAN between AMPATH/302 and SAX/302", "endpoints": [{"port_id": "urn:sdx:port:ampath.net:Ampath3:50", "vlan": "302"}, {"port_id": "urn:sdx:port:sax.net:Sax01:50", "vlan": "302"}]}'
As can be seen above, the breakdowns is composed only by domain urn:sdx:topology:ampath.net, while it was expected to also see additionally the domain urn:sdx:topology:sax.net with something similar to VlanTaggedBreakdown(name='SAX_vlan_4095_302', dynamic_backup_path=True, uni_a=VlanTaggedPort(tag=VlanTag(value=4095, tag_type=1), port_id='urn:sdx:port:sax.net:Sax01:40'), uni_z=VlanTaggedPort(tag=VlanTag(value=302, tag_type=1), port_id='urn:sdx:port:sax.net:Sax01:50'))
Considering the three topologies documented on datamodel repo (see links below), if you create a connection between
Ampath3:50
andSax01:50
, since Sax01 is directly attached to its neighbor domain (Ampath), the breakdown connections will be missing one item:On the SDX-Controller logs:
As can be seen above, the breakdowns is composed only by domain
urn:sdx:topology:ampath.net
, while it was expected to also see additionally the domainurn:sdx:topology:sax.net
with something similar toVlanTaggedBreakdown(name='SAX_vlan_4095_302', dynamic_backup_path=True, uni_a=VlanTaggedPort(tag=VlanTag(value=4095, tag_type=1), port_id='urn:sdx:port:sax.net:Sax01:40'), uni_z=VlanTaggedPort(tag=VlanTag(value=302, tag_type=1), port_id='urn:sdx:port:sax.net:Sax01:50'))
Steps to reproduce: just follow the guide available at https://sdx-docs.readthedocs.io/en/latest/sdx_deploy_single_server.html and create a connection as showed above.
Or you can just use the topologies on your local tests: