Posts

Showing posts with the label opendaylight

restconf: what is the correct api call for configuring a BGP peer

restconf: what is the correct api call for configuring a BGP peer I am trying to bring up a BGP session (linkstate family, if it matters). Following this guide https://github.com/opendaylight/docs/blob/master/docs/user-guide/bgpcep-guide/bgp/bgp-user-guide-linkstate-family.rst When I am making a request using as URL /restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols and as body /restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols <protocol xmlns="http://openconfig.net/yang/network-instance"> <name>nl-ams02c-ispbgp01</name> <identifier xmlns:x="http://openconfig.net/yang/policy-types">x:BGP</identifier> <bgp xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions"> <global> <config> <router-id...