{"type":"api","title":"Update LLDP Status","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":"Update LLDP Status","description":"Enable or disable LLDP on a port. LLDP cannot be enabled on a port channel","operationId":"data_pnic_pnics_pnic_pnic_name_lldp_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":"lldp","in":"body","description":"lldp is enabled or not for this interface","required":true,"schema":{"type":"object","properties":{"pnic:lldp":{"description":"lldp is enabled or not for this interface (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"enabled","enum":["enabled","disabled"]}},"$$ref":"#/definitions/data_pnic_pnics_pnic_pnic-name_lldp"},"$$ref":"#/parameters/data_pnic_pnics_pnic_pnic-name_lldp"}],"responses":{"201":{"description":"leaf lldp 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_lldp_put","consumes":["application/yang-data+json"],"method":"put","path":"/data/pnic:pnics/pnic={pnic-name}/lldp"}}