X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rwcal%2Fplugins%2Fyang%2Frwcal.yang;h=531875021532a325e077b03fa6271c14a515a81b;hb=af804410b4063fe28658e38d23e3108b1d88a799;hp=53caadef9c7c6c7047c0a1f78ec608bfe2ad4d9a;hpb=6f07e6f33f751ab4ffe624f6037f887b243bece2;p=osm%2FSO.git diff --git a/rwcal/plugins/yang/rwcal.yang b/rwcal/plugins/yang/rwcal.yang index 53caadef..53187502 100644 --- a/rwcal/plugins/yang/rwcal.yang +++ b/rwcal/plugins/yang/rwcal.yang @@ -231,6 +231,17 @@ module rwcal mandatory true; } + leaf user-domain { + type string; + default "Default"; + description "Domain of the OpenStack user"; + } + leaf project-domain { + type string; + default "Default"; + description "Domain of the OpenStack project"; + } + leaf tenant { type string; mandatory true; @@ -867,11 +878,17 @@ module rwcal "Specifies the type of connection point VIRTIO : Use the traditional VIRTIO interface. PCI-PASSTHROUGH : Use PCI-PASSTHROUGH interface. - SR-IOV : Use SR-IOV interface."; + SR-IOV : Use SR-IOV interface. + E1000 : Emulate E1000 interface. + RTL8139 : Emulate RTL8139 interface. + PCNET : Emulate PCNET interface."; type enumeration { enum VIRTIO; enum PCI-PASSTHROUGH; enum SR-IOV; + enum E1000; + enum RTL8139; + enum PCNET; } default "VIRTIO"; } @@ -965,10 +982,21 @@ module rwcal description "Name of the security group"; type string; } + leaf port-security-enabled { + description "Enables the port security"; + type boolean; + } uses connection-point-type; } + leaf mgmt-network { + description + "Explicit mgmt-network name, otherwise the mgmt-network from + Cloud account is used"; + type string; + } + leaf allocate-public-address { description "If this VDU needs public IP address"; type boolean; @@ -985,6 +1013,18 @@ module rwcal type string; } } + + uses manotypes:supplemental-boot-data; + + list volumes { + key "name"; + + leaf name { + description "Name of the disk-volumes, e.g. vda, vdb etc"; + type string; + } + uses manotypes:volume-info; + } } container vdu-init-params { @@ -1025,6 +1065,10 @@ module rwcal type boolean; default false; } + leaf port-security-enabled { + description "Enables the port security"; + type boolean; + } uses connection-point-type; } @@ -1086,6 +1130,12 @@ module rwcal rwpb:field-string-max 64; type string; } + + leaf mac-addr { + rwpb:field-inline "true"; + rwpb:field-string-max 48; + type string; + } } grouping virtual-link-info-params { @@ -1201,8 +1251,28 @@ module rwcal type string; description "Console URL from the VIM, if available"; } + + uses manotypes:supplemental-boot-data; + + list volumes { + key "name"; + + leaf name { + description "Name of the disk-volumes, e.g. vda, vdb etc"; + type string; + } + + leaf volume-id { + description "CAL assigned volume-id "; + rwpb:field-inline "true"; + rwpb:field-string-max 64; + type string; + } + uses manotypes:custom-meta-data; + } } + container vnf-resources { rwpb:msg-new VNFResources; config false;