Creating an interface from hc2vpp north bound with IP and VRF fails with code -114. This effectively implies all interface creation with vrf and ip together fails.
Sample call:
url: http://hc2vpp-ip:hc2vpp-port/restconf/config/ietf-interfaces:interfaces/interface/loop0
body:
{ "interface": [ { "name": "loop0", "description": "for testing purposes", "type": "v3po:loopback", "loopback" :{ "mac" : "00:ff:ff:ff:ff:ff" }, "v3po:routing": { "ipv4-vrf-id": 1 }, "link-up-down-trap-enable": "enabled", "enabled": true, "ietf-ip:ipv4": { "address": [ { "ip": "10.11.12.1", "prefix-length": 24 } ] } } ] }
Note:
Creating the interface with the vrf first and putting the ip in a separate command solves the problem. But it should work a single command.