{"type":"api","title":"Configure SNMP Hosts","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":["SNMP Configuration"],"summary":"Configure SNMP Hosts","description":"Configure the SNMP hosts","operationId":"data_snmp_snmp_hosts_post","produces":["application/yang-data+json"],"parameters":[{"name":"hosts","in":"body","description":"","required":true,"schema":{"type":"object","properties":{"snmp:host":{"type":"array","description":"\nSNMP client hosts.\n (list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"host-name":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"host-port":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"host-ip-address":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"host-version":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"int32"},"host-security-level":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"noAuthNoPriv","enum":["noAuthNoPriv","authNoPriv","authPriv"]},"host-user-name":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}}},"$$ref":"#/definitions/data_snmp_snmp_hosts-post"},"$$ref":"#/parameters/data_snmp_snmp_hosts-post"}],"responses":{"201":{"description":"container hosts created"},"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_snmp_snmp_hosts_post","consumes":["application/yang-data+json"],"method":"post","path":"/data/snmp:snmp/hosts"}}