cisco-smart-license

YANG Data Model Tree Structure

View YANG Source on GitHub →

📚 API Documentation & Navigation

📄 Swagger API Spec 📂 Browse Other/Vendor APIs 🌳 All Trees

📋 Module Metadata

Namespace: http://cisco.com/ns/yang/cisco-smart-license

Prefix: cisco-smart-lic

Related Modules:
cisco-bridge-domain
cisco-ethernet
cisco-evpn-service
cisco-policy-filters
cisco-pw

💡 Example Usage

# GET module data
curl -X GET \
  -H "Accept: application/yang-data+json" \
  -u admin:password \
  --insecure \
  https://device-ip/restconf/data/cisco-smart-license

📚 External Documentation

💻 YANG Source📖 YANG Catalog
module: cisco-smart-license
  +--rw licensing
     +--rw config
     |  +--rw enable?      boolean
     |  +--rw custom-id?   string
     |  +--rw privacy
     |  |  +--rw hostname?   boolean
     |  |  +--rw version?    boolean
     |  +--rw utility
     |  |  +--rw utility-enable?   boolean
     |  |  +--rw customer-info
     |  |     +--rw id?            string
     |  |     +--rw name?          string
     |  |     +--rw street?        string
     |  |     +--rw city?          string
     |  |     +--rw state?         string
     |  |     +--rw country?       string
     |  |     +--rw postal-code?   string
     |  +--rw usage
     |  |  +--rw interval?        uint32
     |  |  +--rw customer-tags
     |  |     +--rw tag1?   string
     |  |     +--rw tag2?   string
     |  |     +--rw tag3?   string
     |  |     +--rw tag4?   string
     |  +--rw transport
     |     +--rw transport-type?    transport-type-enum
     |     +--rw transport-smart
     |     |  +--rw (url-setting)?
     |     |     +--:(set-default)
     |     |     |  +--rw url-default?   boolean
     |     |     +--:(set-urls)
     |     |        +--rw urls
     |     |           +--rw url-registration?   inet:uri
     |     |           +--rw url-utility?        inet:uri
     |     +--rw transport-cslu
     |        +--rw url-cslu?   inet:uri
     +--ro state
        +--ro always-enabled?   boolean
        +--ro smart-enabled?    boolean
        +--ro version?          string
        +--ro state-info
           +--ro registration
           |  +--ro registration-state?         registration-state-enum
           |  +--ro registration-in-progress
           |  |  +--ro start-time?   yang:date-and-time
           |  +--ro registration-failed
           |  |  +--ro fail-time?      yang:date-and-time
           |  |  +--ro fail-message?   fail-message-type
           |  +--ro registration-retry
           |  |  +--ro retry-next-time?   yang:date-and-time
           |  |  +--ro fail-time?         yang:date-and-time
           |  |  +--ro fail-message?      fail-message-type
           |  +--ro registration-complete
           |  |  +--ro complete-time?        yang:date-and-time
           |  |  +--ro last-renew-time?      yang:date-and-time
           |  |  +--ro next-renew-time?      yang:date-and-time
           |  |  +--ro expire-time?          yang:date-and-time
           |  |  +--ro last-renew-success?   boolean
           |  |  +--ro fail-message?         fail-message-type
           |  |  +--ro smart-account?        string
           |  |  +--ro virtual-account?      string
           |  +--ro export-control-allowed?     boolean
           +--ro authorization
           |  +--ro authorization-state?                    authorization-state-enum
           |  +--ro authorization-none
           |  +--ro authorization-eval
           |  |  +--ro seconds-left?   uint64
           |  +--ro authorization-eval-expired
           |  |  +--ro expire-time?   yang:date-and-time
           |  +--ro authorization-authorized
           |  |  +--ro last-comm-status-success?   boolean
           |  |  +--ro fail-message?               fail-message-type
           |  |  +--ro last-comm-time?             yang:date-and-time
           |  |  +--ro next-comm-time?             yang:date-and-time
           |  |  +--ro comm-deadline-time?         yang:date-and-time
           |  +--ro authorization-authorized-reservation
           |  |  +--ro reservation-time?   yang:date-and-time
           |  +--ro authorization-out-of-compliance
           |  |  +--ro last-comm-status-success?   boolean
           |  |  +--ro fail-message?               fail-message-type
           |  |  +--ro last-comm-time?             yang:date-and-time
           |  |  +--ro next-comm-time?             yang:date-and-time
           |  |  +--ro comm-deadline-time?         yang:date-and-time
           |  |  +--ro ooc-time?                   yang:date-and-time
           |  +--ro authorization-authorization-expired
           |     +--ro last-comm-status-success?   boolean
           |     +--ro fail-message?               fail-message-type
           |     +--ro last-comm-time?             yang:date-and-time
           |     +--ro next-comm-time?             yang:date-and-time
           |     +--ro comm-deadline-time?         yang:date-and-time
           +--ro utility
           |  +--ro enabled?           boolean
           |  +--ro reporting?         utility-reporting-type-enum
           |  +--ro reporting-times
           |  |  +--ro last-report-time?      yang:date-and-time
           |  |  +--ro last-report-success?   boolean
           |  |  +--ro fail-message?          fail-message-type
           |  |  +--ro next-report-time?      yang:date-and-time
           |  +--ro customer-info
           |     +--ro id?            string
           |     +--ro name?          string
           |     +--ro street?        string
           |     +--ro city?          string
           |     +--ro state?         string
           |     +--ro country?       string
           |     +--ro postal-code?   string
           +--ro custom-id?                 string
           +--ro transport
           |  +--ro transport-type?   transport-type-enum
           |  +--ro url-settings
           |     +--ro url-registration?   inet:uri
           |     +--ro url-utility?        inet:uri
           +--ro privacy
           |  +--ro hostname?   boolean
           |  +--ro version?    boolean
           +--ro evaluation
           |  +--ro eval-in-use?        boolean
           |  +--ro eval-expired?       boolean
           |  +--ro eval-period-left
           |  |  +--ro time-left?   uint32
           |  +--ro eval-expire-time
           |     +--ro expire-time?   yang:date-and-time
           +--ro udi
           |  +--ro pid?               string
           |  +--ro sn?                string
           |  +--ro vid?               string
           |  +--ro uuid?              yang:uuid
           |  +--ro suvi?              string
           |  +--ro host-identifier?   string
           |  +--ro mac-address?       yang:mac-address
           +--ro usage* [entitlement-tag]
           |  +--ro entitlement-tag     string
           |  +--ro short-name?         string
           |  +--ro license-name?       string
           |  +--ro description?        string
           |  +--ro count?              uint32
           |  +--ro enforcement-mode?   enforcement-mode-enum
           |  +--ro post-paid?          boolean
           |  +--ro subscription-id?    string
           +--ro policy
           |  +--ro policy-type?           policy-types-enum
           |  +--ro policy-name?           string
           |  +--ro install-time?          yang:date-and-time
           |  +--ro ack-required?          boolean
           |  +--ro policy-enforced
           |  |  +--ro reporting-first-time?   uint32
           |  |  +--ro reporting-ongoing?      uint32
           |  |  +--ro reporting-macd?         uint32
           |  +--ro policy-export
           |  |  +--ro reporting-first-time?   uint32
           |  |  +--ro reporting-ongoing?      uint32
           |  |  +--ro reporting-macd?         uint32
           |  +--ro policy-subscription
           |  |  +--ro reporting-first-time?   uint32
           |  |  +--ro reporting-ongoing?      uint32
           |  |  +--ro reporting-macd?         uint32
           |  +--ro policy-perpetual
           |     +--ro reporting-first-time?   uint32
           |     +--ro reporting-ongoing?      uint32
           |     +--ro reporting-macd?         uint32
           +--ro trust-code* [key_udi]
           |  +--ro key_udi           string
           |  +--ro is-installed?     boolean
           |  +--ro time-installed?   yang:date-and-time
           |  +--ro udi
           |     +--ro pid?               string
           |     +--ro sn?                string
           |     +--ro vid?               string
           |     +--ro uuid?              yang:uuid
           |     +--ro suvi?              string
           |     +--ro host-identifier?   string
           |     +--ro mac-address?       yang:mac-address
           +--ro conversion* [key_udi]
           |  +--ro key_udi        string
           |  +--ro status?        conversion-status-enum
           |  +--ro status-time?   yang:date-and-time
           |  +--ro udi
           |     +--ro pid?               string
           |     +--ro sn?                string
           |     +--ro vid?               string
           |     +--ro uuid?              yang:uuid
           |     +--ro suvi?              string
           |     +--ro host-identifier?   string
           |     +--ro mac-address?       yang:mac-address
           +--ro rum-reports-closed-keys* [rum-report-key]
           |  +--ro report-id?           uint64
           |  +--ro udi
           |  |  +--ro pid?               string
           |  |  +--ro sn?                string
           |  |  +--ro vid?               string
           |  |  +--ro uuid?              yang:uuid
           |  |  +--ro suvi?              string
           |  |  +--ro host-identifier?   string
           |  |  +--ro mac-address?       yang:mac-address
           |  +--ro report-start-time?   yang:date-and-time
           |  +--ro report-end-time?     yang:date-and-time
           |  +--ro report-state?        rum-report-state-enum
           |  +--ro rum-report-key       string
           +--ro rum-ack
           |  +--ro last-received-time?     yang:date-and-time
           |  +--ro next-report-deadline?   yang:date-and-time
           +--ro factory-purchase* [key_udi]
           |  +--ro key_udi               string
           |  +--ro udi
           |  |  +--ro pid?               string
           |  |  +--ro sn?                string
           |  |  +--ro vid?               string
           |  |  +--ro uuid?              yang:uuid
           |  |  +--ro suvi?              string
           |  |  +--ro host-identifier?   string
           |  |  +--ro mac-address?       yang:mac-address
           |  +--ro basic-license-info* [entitlement-tag]
           |     +--ro entitlement-tag             string
           |     +--ro short-name?                 string
           |     +--ro license-name?               string
           |     +--ro description?                string
           |     +--ro count?                      uint32
           |     +--ro license-enforcement-type?   license-enforcement-type-enum
           |     +--ro license-term-type?          license-term-type-enum
           |     +--ro start-time?                 yang:date-and-time
           |     +--ro end-time?                   yang:date-and-time
           |     +--ro subscription-id?            string
           +--ro imported-authorizations
              +--ro overall-status* [key_udi]
              |  +--ro key_udi           string
              |  +--ro udi
              |  |  +--ro pid?               string
              |  |  +--ro sn?                string
              |  |  +--ro vid?               string
              |  |  +--ro uuid?              yang:uuid
              |  |  +--ro suvi?              string
              |  |  +--ro host-identifier?   string
              |  |  +--ro mac-address?       yang:mac-address
              |  +--ro installed-list* [install-type]
              |     +--ro install-type    license-auth-type-enum
              |     +--ro install-time?   yang:date-and-time
              +--ro authorization-list* [entitlement-tag]
                 +--ro entitlement-tag             string
                 +--ro short-name?                 string
                 +--ro license-name?               string
                 +--ro description?                string
                 +--ro total-count?                uint32
                 +--ro license-enforcement-type?   license-enforcement-type-enum

  rpcs:
    +---x register-id-token
    |  +---w input
    |  |  +---w id-token?   string
    |  |  +---w force?      boolean
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x de-register
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x renew-id
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x renew-auth
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x id-token-trust
    |  +---w input
    |  |  +---w id-token    string
    |  |  +---w all-ha?     boolean
    |  |  +---w force?      boolean
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x rum-save-usage-all
    |  +---w input
    |  |  +---w file-path    string
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x rum-save-usage-unreported
    |  +---w input
    |  |  +---w file-path    string
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x rum-save-usage-days
    |  +---w input
    |  |  +---w file-path    string
    |  |  +---w days?        uint32
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x trust-request-save
    |  +---w input
    |  |  +---w file-path    string
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x authorization-request-online
    |  +---w input
    |  |  +---w feature-name    string
    |  |  +---w local?          boolean
    |  |  +---w add?            boolean
    |  +--ro output
    |     +--ro return-code?   error-enum
    +---x authorization-code-return-online
    |  +---w input
    |  |  +---w local?   boolean
    |  +--ro output
    |     +--ro return-code?                   error-enum
    |     +--ro authorization-return-string?   string
    +---x authorization-code-return-offline
    |  +---w input
    |  |  +---w local?       boolean
    |  |  +---w file-path    string
    |  +--ro output
    |     +--ro return-code?                   error-enum
    |     +--ro authorization-return-string?   string
    +---x import-file
       +---w input
       |  +---w file-path    string
       +--ro output
          +--ro return-code?          error-enum
          +--ro confirmation-codes?   string

  notifications:
    +---n ready
    +---n enabled
    +---n registration-fail
    |  +--ro reason?    notif-register-failure-enum
    |  +--ro message?   fail-message-type
    +---n enforcement-mode
    |  +--ro mode?   authorization-state-enum
    +---n registration-success
    +---n registration-expired
    |  +--ro reason?    notif-register-failure-enum
    |  +--ro message?   fail-message-type
    +---n registration-renew-success
    +---n registration-renew-fail
    |  +--ro reason?    notif-register-failure-enum
    |  +--ro message?   fail-message-type
    +---n authorization-renew-success
    +---n authorization-renew-fail
    |  +--ro reason?    notif-register-failure-enum
    |  +--ro message?   fail-message-type
    +---n communications-fail
    |  +--ro reason?    notif-register-failure-enum
    |  +--ro message?   fail-message-type
    +---n communications-restored
    +---n registration-out-of-range
    +---n evaluation-expiration-warning
    |  +--ro seconds-left?   uint64
    +---n evaluation-expired
    |  +--ro expire-time?   yang:date-and-time
    +---n registration-expiration-warning
    |  +--ro expire-time?   yang:date-and-time
    +---n de-register-success
    +---n de-register-fail
    |  +--ro reason?    notif-register-failure-enum
    |  +--ro message?   fail-message-type
    +---n utility-expired
    |  +--ro reason?    notif-register-failure-enum
    |  +--ro message?   fail-message-type
    +---n utility-renewal-fail
    |  +--ro reason?    notif-register-failure-enum
    |  +--ro message?   fail-message-type
    +---n utility-renewal-success
    +---n utility-RUM-fail
    |  +--ro reason?    notif-register-failure-enum
    |  +--ro message?   fail-message-type
    +---n utility-reporting-started
    +---n utility-reporting-stopped