Loading dataplane-in-a-box/clab-deploy.sh +1 −1 Original line number Diff line number Diff line Loading @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. cd /home/tfs/tfs-ctrl/dataplane-in-a-box cd /home/$USER/tfs-ctrl/dataplane-in-a-box sudo containerlab deploy --topo arista.clab.yml dataplane-in-a-box/clab-destroy.sh +1 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. cd /home/tfs/tfs-ctrl/dataplane-in-a-box cd /home/$USER/tfs-ctrl/dataplane-in-a-box sudo containerlab destroy --topo arista.clab.yml sudo rm -rf clab-arista/ .arista.clab.yml.bak dataplane-in-a-box/clab-inspect.sh +1 −1 Original line number Diff line number Diff line Loading @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. cd /home/tfs/tfs-ctrl/dataplane-in-a-box cd /home/$USER/tfs-ctrl/dataplane-in-a-box sudo containerlab inspect --topo arista.clab.yml dataplane-in-a-box/tfs-01-topology.json +34 −8 Original line number Diff line number Diff line Loading @@ -49,21 +49,47 @@ "username": "admin", "password": "admin", "use_tls": false }}} ]} }, { "device_id": {"device_uuid": {"uuid": "r3"}}, "device_type": "packet-router", "device_drivers": ["DEVICEDRIVER_GNMI_OPENCONFIG"], "device_config": {"config_rules": [ {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "172.20.20.103"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "6030"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": { "username": "admin", "password": "admin", "use_tls": false }}} ]} } ], "links": [ { "link_id": {"link_uuid": {"uuid": "r1/Ethernet1==r2/Ethernet1"}}, "link_id": {"link_uuid": {"uuid": "r1/Ethernet2==r2/Ethernet1"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r1"}}, "endpoint_uuid": {"uuid": "Ethernet1"}}, {"device_id": {"device_uuid": {"uuid": "r1"}}, "endpoint_uuid": {"uuid": "Ethernet2"}}, {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet1"}} ] }, { "link_id": {"link_uuid": {"uuid": "r2/Ethernet1==r1/Ethernet1"}}, "link_id": {"link_uuid": {"uuid": "r2/Ethernet1==r1/Ethernet2"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet1"}}, {"device_id": {"device_uuid": {"uuid": "r1"}}, "endpoint_uuid": {"uuid": "Ethernet1"}} {"device_id": {"device_uuid": {"uuid": "r1"}}, "endpoint_uuid": {"uuid": "Ethernet2"}} ] }, { "link_id": {"link_uuid": {"uuid": "r2/Ethernet3==r3/Ethernet2"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet3"}}, {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet2"}} ] }, { "link_id": {"link_uuid": {"uuid": "r3/Ethernet2==r2/Ethernet3"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet2"}}, {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet3"}} ] }, Loading @@ -83,17 +109,17 @@ }, { "link_id": {"link_uuid": {"uuid": "r2/Ethernet10==dc2/eth1"}}, "link_id": {"link_uuid": {"uuid": "r3/Ethernet10==dc2/eth1"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet10"}}, {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet10"}}, {"device_id": {"device_uuid": {"uuid": "dc2"}}, "endpoint_uuid": {"uuid": "eth1"}} ] }, { "link_id": {"link_uuid": {"uuid": "dc2/eth1==r2/Ethernet10"}}, "link_id": {"link_uuid": {"uuid": "dc2/eth1==r3/Ethernet10"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "dc2"}}, "endpoint_uuid": {"uuid": "eth1"}}, {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet10"}} {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet10"}} ] } ] Loading Loading
dataplane-in-a-box/clab-deploy.sh +1 −1 Original line number Diff line number Diff line Loading @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. cd /home/tfs/tfs-ctrl/dataplane-in-a-box cd /home/$USER/tfs-ctrl/dataplane-in-a-box sudo containerlab deploy --topo arista.clab.yml
dataplane-in-a-box/clab-destroy.sh +1 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. cd /home/tfs/tfs-ctrl/dataplane-in-a-box cd /home/$USER/tfs-ctrl/dataplane-in-a-box sudo containerlab destroy --topo arista.clab.yml sudo rm -rf clab-arista/ .arista.clab.yml.bak
dataplane-in-a-box/clab-inspect.sh +1 −1 Original line number Diff line number Diff line Loading @@ -13,5 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. cd /home/tfs/tfs-ctrl/dataplane-in-a-box cd /home/$USER/tfs-ctrl/dataplane-in-a-box sudo containerlab inspect --topo arista.clab.yml
dataplane-in-a-box/tfs-01-topology.json +34 −8 Original line number Diff line number Diff line Loading @@ -49,21 +49,47 @@ "username": "admin", "password": "admin", "use_tls": false }}} ]} }, { "device_id": {"device_uuid": {"uuid": "r3"}}, "device_type": "packet-router", "device_drivers": ["DEVICEDRIVER_GNMI_OPENCONFIG"], "device_config": {"config_rules": [ {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "172.20.20.103"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "6030"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": { "username": "admin", "password": "admin", "use_tls": false }}} ]} } ], "links": [ { "link_id": {"link_uuid": {"uuid": "r1/Ethernet1==r2/Ethernet1"}}, "link_id": {"link_uuid": {"uuid": "r1/Ethernet2==r2/Ethernet1"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r1"}}, "endpoint_uuid": {"uuid": "Ethernet1"}}, {"device_id": {"device_uuid": {"uuid": "r1"}}, "endpoint_uuid": {"uuid": "Ethernet2"}}, {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet1"}} ] }, { "link_id": {"link_uuid": {"uuid": "r2/Ethernet1==r1/Ethernet1"}}, "link_id": {"link_uuid": {"uuid": "r2/Ethernet1==r1/Ethernet2"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet1"}}, {"device_id": {"device_uuid": {"uuid": "r1"}}, "endpoint_uuid": {"uuid": "Ethernet1"}} {"device_id": {"device_uuid": {"uuid": "r1"}}, "endpoint_uuid": {"uuid": "Ethernet2"}} ] }, { "link_id": {"link_uuid": {"uuid": "r2/Ethernet3==r3/Ethernet2"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet3"}}, {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet2"}} ] }, { "link_id": {"link_uuid": {"uuid": "r3/Ethernet2==r2/Ethernet3"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet2"}}, {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet3"}} ] }, Loading @@ -83,17 +109,17 @@ }, { "link_id": {"link_uuid": {"uuid": "r2/Ethernet10==dc2/eth1"}}, "link_id": {"link_uuid": {"uuid": "r3/Ethernet10==dc2/eth1"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet10"}}, {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet10"}}, {"device_id": {"device_uuid": {"uuid": "dc2"}}, "endpoint_uuid": {"uuid": "eth1"}} ] }, { "link_id": {"link_uuid": {"uuid": "dc2/eth1==r2/Ethernet10"}}, "link_id": {"link_uuid": {"uuid": "dc2/eth1==r3/Ethernet10"}}, "link_endpoint_ids": [ {"device_id": {"device_uuid": {"uuid": "dc2"}}, "endpoint_uuid": {"uuid": "eth1"}}, {"device_id": {"device_uuid": {"uuid": "r2"}}, "endpoint_uuid": {"uuid": "Ethernet10"}} {"device_id": {"device_uuid": {"uuid": "r3"}}, "endpoint_uuid": {"uuid": "Ethernet10"}} ] } ] Loading