Template Configuration for Peer Parameters
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/bgp/inst.json
{ "bgpInst": { "attributes": { "asn": "100" }, "children": [ { "bgpDom": { "attributes": { "name": "default" }, "children": [ { "bgpPeerCont": { "attributes": { "inheritContPeerCtrl": "", "name": "33.1.1.1" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <bgp-items> <inst-items> <asn>100</asn> <dom-items> <Dom-list> <name>default</name> <peercont-items> <PeerCont-list> <name>33.1.1.1</name> <inheritContPeerCtrl></inheritContPeerCtrl> </PeerCont-list> </peercont-items> </Dom-list> </dom-items> </inst-items> </bgp-items> </System>