{"type":"api","title":"Configure LACP Mode","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":["Port and Port Channel"],"summary":"Configure LACP Mode","description":"Configure the LACP mode of a port channel","operationId":"data_pnic_pnics_pnic_pnic_name_lacp_type_put","produces":["application/yang-data+json"],"parameters":[{"name":"pnic-name","in":"path","description":"pnic name","required":true,"type":"string","format":"string","$$ref":"#/parameters/pnic-name"},{"name":"lacp_type","in":"body","description":"LACP type (active, passive, off)","required":true,"schema":{"type":"object","properties":{"pnic:lacp_type":{"description":"LACP type (active, passive, off) (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"active","enum":["active","passive","off"]}},"$$ref":"#/definitions/data_pnic_pnics_pnic_pnic-name_lacp_type"},"$$ref":"#/parameters/data_pnic_pnics_pnic_pnic-name_lacp_type"}],"responses":{"201":{"description":"leaf lacp_type 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_pnic_pnics_pnic_pnic_name_lacp_type_put","consumes":["application/yang-data+json"],"method":"put","path":"/data/pnic:pnics/pnic={pnic-name}/lacp_type"}}