Configuring an IP Address
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "vrrpv3Entity": { "children": [ { "vrrpv3Inst": { "children": [ { "vrrpv3Interface": { "attributes": { "id": "eth1/2" }, "children": [ { "vrrpv3VrrsPathway": { "attributes": { "tag": "TAG_1" }, "children": [ { "vrrpv3PwAddr": { "attributes": { "addr": "1:2::3:4" } } } ] } } ] } } ] } } ] } }, { "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/2" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <vrrpv3-items> <inst-items> <if-items> <Interface-list> <id>eth1/2</id> <vrrs-items> <VrrsPathway-list> <tag>TAG_1</tag> <addr-items> <PwAddr-list> <addr>1:2::3:4</addr> </PwAddr-list> </addr-items> </VrrsPathway-list> </vrrs-items> </Interface-list> </if-items> </inst-items> </vrrpv3-items> <intf-items> <phys-items> <PhysIf-list> <id>eth1/2</id> </PhysIf-list> </phys-items> </intf-items> </System>