{"type":"api","title":"Add Security Server 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":["Security Configuration"],"summary":"Add Security Server Configuration","description":"Add a security server configuration","operationId":"data_security_security_servers_post","produces":["application/yang-data+json"],"parameters":[{"name":"security_servers","in":"body","description":"","required":true,"schema":{"type":"object","properties":{"security:tacacs-server":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"host":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"server":{"description":"IPv4/6 address or DNS domain name for the remo\nte Tacacs+ server (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"union"},"secret":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"key":{"description":"Configures a preshared key to authenticate comms between Security client and server. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"0","enum":["0","7"]},"shared-secret":{"description":"Preshared secret to authenticate comms between Security client and server. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"admin-priv":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"oper-priv":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"}}}}}}}},"security:radius-server":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"host":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"server":{"description":"IPv4/v6 address or DNS name for the remote Radius server (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"union"},"secret":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"key":{"description":"Configures a preshared key to authenticate comms between Security client and server. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"0","enum":["0","7"]},"shared-secret":{"description":"Preshared secret to authenticate comms between Security client and server. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"admin-priv":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"oper-priv":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"}}},"port":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"auth-port":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"acct-port":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"}}}}}},"options":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"retransmit":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"int32"},"timeout":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"int32"}}}}},"security:aaa":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"authentication":{"description":"Configure external authentication method; Mutually exclusive to auth-order configuration (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"tacacs","enum":["tacacs","radius"]},"groups":{"description":"(non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"group":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"policy":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"local-authentication-only","enum":["local-authentication-only","resource-access-control"]}}}},"user":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"name":{"description":"(leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}}}}}}}}}},"$$ref":"#/definitions/data_security_security_servers-post"},"$$ref":"#/parameters/data_security_security_servers-post"}],"responses":{"201":{"description":"container security_servers 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_security_security_servers_post","consumes":["application/yang-data+json"],"method":"post","path":"/data/security:security_servers"}}