Uploaded image for project: 'neutron'
  1. neutron
  2. NEUTRON-93

attrs description in base and admin attributes should be resource neutral

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • master
    • General
    • None
    • Operating System: All
      Platform: All

    • 4816

      the yang model in model/src/main/yang/neutron-attrs.yang:
      grouping base-attributes {

      leaf uuid

      { type yang:uuid; description "UUID to index this neutron object."; }

      leaf name

      { type string; description "Human-readable name for the item. Might not be unique."; }

      leaf tenant-id

      { type yang:uuid; description "Admin-only. The UUID of the tenant that will own the network. This tenant can be different from the tenant that makes the create network request. However, only administrative users can specify a tenant ID other than their own. You cannot change this value through authorization policies."; }

      }

      grouping admin-attributes {
      leaf admin-state-up

      { type boolean; description "The administrative state of the network, which is up (true) or down (false)."; }

      leaf status

      { type string; description "The network status."; }

      }

      tenant-id, admin-state-up and status should be resource neutral, since they are common attributes for other resources too.

            gong_ys2004@aliyun.com yong sheng gong
            gong_ys2004@aliyun.com yong sheng gong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: