{"type":"api","title":"Get License Info","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":["Smart Licensing"],"summary":"Get License Info","description":"Retrieve license information","operationId":"data_smart_licensing_license_get","produces":["application/yang-data+json"],"parameters":[{"name":"content","in":"query","description":"controlling descendant nodes in response","required":false,"type":"string","format":"enumeration","default":"config","enum":["config","nonconfig","all"],"$$ref":"#/parameters/content"}],"responses":{"200":{"description":"Licensing Commands","schema":{"type":"object","properties":{"smart_licensing:license":{"description":"Licensing Commands (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"smart":{"description":"Smart Licensing Commands (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"transport":{"description":"licensing transport to be set for license reporting (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"smart","enum":["smart","cslu"]},"usage":{"description":"Usage commands (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"interval":{"description":"Configure time interval for reporting usage in days (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"}}},"proxy":{"description":"Proxy server configuration (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"address":{"description":"Ip address or hostname of the proxy (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"union"},"port":{"description":"Proxy server port (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"}}},"cslu-url":{"description":"The transport URL to be used for CSLU mode (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"token":{"description":"The token generated by User's Account on Cisco Smart Software Manager (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"smart-url":{"description":"The transport URL to be used for Smart mode (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}},"accounts":{"description":"Display information for the user accounts for licenses (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"opdata":{"description":"Smart Licensing operational data information. (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"operational-status":{"description":"Status of the Smart Licensing workflow. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"OK","enum":["OK","SMART-LICENSING-AGENT-FAILED","TRUST-ESTABLISHMENT-FAILED","SMART-LICENSING-COMMUNICATION-FAILURE","STATUS-NOT-AVAILABLE","SMART-LICENSING-DISABLED"]},"usage-reporting":{"description":"Smart Licensing usage reporting information. (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"last-ack-received":{"description":"The timestamp of when the last ACK was received (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"usage-interval-days":{"description":"The interval at which RUM report is sent (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"uint16"},"next-ack-deadline":{"description":"Date and time for next ACK. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"last-report-push":{"description":"The timestamp when last RUM report was sent (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"next-report-push":{"description":"The timestamp at which the next RUM Report will be sent (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}}},"license-units-consumed":{"description":"Number of license units consumed. (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"transport":{"description":"Operational Data For Cisco Smart Licensing status. (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"transport":{"description":"Mode of transport used for Smart Licensing communication. CSLU or SMART (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"smart","enum":["smart","cslu"]},"url":{"description":"URL of the Smart Licensing transport. (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}},"udi":{"description":"Display the Universal Device Identifier information for the device (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"summary":{"description":"Show license summary (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"status":{"description":"Show license status information (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"usage":{"description":"Show license usage information (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"tech":{"description":"Tech commands (non-presence)","type":"object","x-yang":{"type":"container","is_presence":"false"},"properties":{"support":{"description":"tech support for Smart Licensing (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"}}}}}},"$$ref":"#/definitions/data_smart_licensing_license"}},"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_smart_licensing_license_get","consumes":["application/yang-data+json"],"method":"get","path":"/data/smart_licensing:license"}}