X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwcal%2Fplugins%2Fyang%2Frwcal.yang;h=76bd38b37cb5c42b73cb1a198fea11e6ee85b37b;hb=refs%2Fchanges%2F60%2F760%2F1;hp=53caadef9c7c6c7047c0a1f78ec608bfe2ad4d9a;hpb=6f07e6f33f751ab4ffe624f6037f887b243bece2;p=osm%2FSO.git diff --git a/rwcal/plugins/yang/rwcal.yang b/rwcal/plugins/yang/rwcal.yang index 53caadef..76bd38b3 100644 --- a/rwcal/plugins/yang/rwcal.yang +++ b/rwcal/plugins/yang/rwcal.yang @@ -867,11 +867,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"; } @@ -969,6 +975,13 @@ module rwcal 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 +998,16 @@ module rwcal type string; } } + + 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 { @@ -1201,8 +1224,26 @@ module rwcal type string; description "Console URL from the VIM, if available"; } + + 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; + } + + } } + container vnf-resources { rwpb:msg-new VNFResources; config false;