Skip to content

Instantly share code, notes, and snippets.

stanislav@xudocker:~$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ligato/vpp-agent pantheon-dev 4403c2807f88 6 hours ago 428MB
ligato/vpp-agent <none> 30571f5d5ff9 25 hours ago 431MB
ligato/vpp-agent <none> 3ecabb25385c 5 days ago 450MB
ligato/vpp-agent <none> e6c41f4b6b2e 5 days ago 450MB
ligato/vpp-agent latest c4e45799d75e 7 days ago 388MB
ligato/dev-vpp-agent latest ccd7db6909cd 7 days ago 4.08GB
ligato/dev_sfc_controller latest e63669a8bd46 3 weeks ago 1.5GB
ligato/vpp-agent <none> 3e5c7196101c 3 weeks ago 383MB
root@003cdae3a0fe:~# ip netns exec ns1 ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ns1_veth1_linux@if3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether d2:74:8c:12:67:d2 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 192.168.22.1/24 scope global ns1_veth1_linux
valid_lft forever preferred_lft forever
inet6 fe80::c8a6:83ff:fe8f:adb0/64 scope link
valid_lft forever preferred_lft forever
2017-12-18 16:37:22,186 | WARN | 1620084595-14083 | BrokerFacade | 293 - org.opendaylight.netconf.sal-rest-connector - 1.5.1.Carbon-SR1_3_1_1_rc5-frinxodl-SNAPSHOT | Error reading /(http://frinx.openconfig.net/yang/network-instance?revision=2017-02-28)network-instances/network-instance/network-instance[{(http://frinx.openconfig.net/yang/network-instance?revision=2017-02-28)name=STANKOVE_VRF}] from datastore OPERATIONAL
ReadFailedException{message=Failed to read data, errorList=[RpcError [message=Failed to read data, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=io.fd.honeycomb.translate.read.ReadFailedException: Failed to read: InstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.http.frinx.openconfig.net.yang.bgp.rev170202.bgp.neighbor.base.State, path=[org.opendaylight.yang.gen.v1.http.frinx.openconfig.net.yang.network.instance.rev170228.network.instance.top.NetworkInstances, org.opendaylight.yang.gen.v1.http.frinx.ope
POST /restconf/operations/network-topology:network-topology/topology/cli/node/IOS/yang-ext:mount/cli-unit-generic:execute-and-read HTTP/1.1
Host: localhost:8181
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 6a0f0cc2-5194-fb15-75cd-2e15094e2594
{
"input" :
{
PUT /restconf/config/network-topology:network-topology/topology/cli/node/IOS/yang-ext:mount/frinx-openconfig-network-instance:network-instances/network-instance/vrf1 HTTP/1.1
Host: localhost:8181
Authorization: Basic YWRtaW46YWRtaW4=
Accept: application/json
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: ee95886f-22b0-74c2-e3ea-3e2a9864f25d
{
"network-instance": [
2017-12-19 10:05:13,231 | WARN | p355243484-21842 | BrokerFacade | 293 - org.opendaylight.netconf.sal-rest-connector - 1.5.1.Carbon-SR1_3_1_1_rc5-frinxodl-SNAPSHOT | Error reading /(http://frinx.openconfig.net/yang/network-instance?revision=2017-02-28)network-instances/network-instance/network-instance[{(http://frinx.openconfig.net/yang/network-instance?revision=2017-02-28)name=THIS_IS_MY_VRF_DO_NOT_TOUCH}] from datastore OPERATIONAL
ReadFailedException{message=Failed to read data, errorList=[RpcError [message=Failed to read data, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=io.fd.honeycomb.translate.read.ReadFailedException: Failed to read: InstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.http.frinx.openconfig.net.yang.bgp.rev170202.bgp.neighbor.base.State, path=[org.opendaylight.yang.gen.v1.http.frinx.openconfig.net.yang.network.instance.rev170228.network.instance.top.NetworkInstances, org.opendaylight.yang.gen.v1
2017-12-19 11:11:36,173 | DEBUG | p355243484-27597 | CliReader | 344 - io.frinx.cli.utils-unit - 3.1.1.rc5-frinx-SNAPSHOT | JournalingCli{KeepaliveCli{id='IOS'}}: Reading: KeyedInstanceIdentifier{targetType=interface org.opendaylight.yang.gen.v1.http.frinx.openconfig.net.yang.network.instance.rev170228.network.instance.top.network.instances.NetworkInstance, path=[org.opendaylight.yang.gen.v1.http.frinx.openconfig.net.yang.network.instance.rev170228.network.instance.top.NetworkInstances, org.opendaylight.yang.gen.v1.http.frinx.openconfig.net.yang.network.instance.rev170228.network.instance.top.network.instances.NetworkInstance[key=NetworkInstanceKey [_name=THIS_IS_MY_VRF_DO_NOT_TOUCH]]]} as: Name Default RD Interfaces
THIS_IS_MY_VRF_DO_NOT_TOUCH 65000:10 Lo1970
TMP <not set>
2017-12-19 11:11:36,173 | DEBUG | p355243484-27597 | CliReader | 344 - io.frinx.cli.utils-unit - 3.1.1.
PUT /restconf/config/network-topology:network-topology/topology/cli/node/IOS/yang-ext:mount/frinx-openconfig-network-instance:network-instances/network-instance/THIS_IS_MY_VRF_DO_NOT_TOUCH HTTP/1.1
Host: localhost:8181
Authorization: Basic YWRtaW46YWRtaW4=
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: e176f075-89b3-9124-e372-029c8a1b00d2
{
"network-instance": [
{
{
"network-instance": [
{
"name": "{{l3_vpn_bgp_vrf}}",
"config": {
"name": "{{l3_vpn_bgp_vrf}}",
"type": "L3VRF",
"route-distinguisher": "{{l3_vpn_bgp_rd}}",
"enabled-address-families": [
"{{l3_vpn_bgp_enabled_address_families}}"
2017-12-19 14:58:45,763 | DEBUG | Thread-52854 | AbstractMountPoint | 346 - io.frinx.cli.topology-impl - 3.1.1.rc5-frinx-SNAPSHOT | RemoteDeviceId{topology=cli-dryrun, node='IOS'}: Translate layer successfully created
2017-12-19 14:58:45,764 | WARN | Thread-52854 | AbstractMountPoint | 346 - io.frinx.cli.topology-impl - 3.1.1.rc5-frinx-SNAPSHOT | RemoteDeviceId{topology=cli-dryrun, node='IOS'}: Unable to mount device
java.util.concurrent.CompletionException: java.lang.IllegalStateException: Mount point already exists
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)[:1.8.0_151]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)[:1.8.0_151]
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:604)[:1.8.0_151]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)[:1.8.0_151]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFut