{"type":"api","title":"Update BGP Neighbor Configuration","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["BGP Configuration"],"summary":"Update BGP Neighbor Configuration","description":"Update BGP neighbor configuration","operationId":"data_router_routers_router_bgp_bgp_as_neighbor_neighbor_remote_ip_put","produces":["application/yang-data+json"],"parameters":[{"name":"bgp-as","in":"path","description":"Local BGP AS number","required":true,"type":"integer","format":"uint32","$$ref":"#/parameters/bgp-as"},{"name":"neighbor-remote-ip","in":"path","description":"","required":true,"type":"string","format":"union","$$ref":"#/parameters/neighbor-remote-ip"},{"name":"neighbor","in":"body","description":"","required":true,"schema":{"type":"object","properties":{"router:neighbor":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"remote-ip":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"union"},"remote-as":{"description":"Remote BGP AS number (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint32"},"description":{"description":"Description of neighbor (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}}},"$$ref":"#/definitions/data_router_routers_router_bgp_bgp-as_neighbor_neighbor-remote-ip"},"$$ref":"#/parameters/data_router_routers_router_bgp_bgp-as_neighbor_neighbor-remote-ip"},{"name":"insert","in":"query","description":"controlling the order when adding new list elements","required":false,"type":"string","format":"enumeration","default":"first","enum":["first","last","before","after"],"$$ref":"#/parameters/insert"},{"name":"point","in":"query","description":"used to specify the insertion point","required":false,"type":"string","format":"string","$$ref":"#/parameters/point"}],"responses":{"201":{"description":"list neighbor created or replaced"},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"data_router_routers_router_bgp_bgp_as_neighbor_neighbor_remote_ip_put","consumes":["application/yang-data+json"],"method":"put","path":"/data/router:routers/router/bgp={bgp-as}/neighbor={neighbor-remote-ip}"}}