X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwcal%2Fplugins%2Fyang%2Frwcal.yang;h=1ed2f7bdb9af684179279ba7e9babd42da7fb820;hb=4bd9025f301e1e341af70f6f3a0fb5f239f59b44;hp=09e4acc282adcac30c9d46b13682a393d200181e;hpb=9fc352f86ff614f1b78a8b3e03952a0b6d31fd06;p=osm%2FSO.git diff --git a/rwcal/plugins/yang/rwcal.yang b/rwcal/plugins/yang/rwcal.yang index 09e4acc2..1ed2f7bd 100644 --- a/rwcal/plugins/yang/rwcal.yang +++ b/rwcal/plugins/yang/rwcal.yang @@ -100,62 +100,6 @@ module rwcal uses connection-status; - typedef sdn-account-type { - description "SDN account type"; - type enumeration { - enum odl; - enum mock; - enum sdnsim; - } - } - - grouping sdn-provider-auth { - leaf account-type { - type sdn-account-type; - } - - choice provider-specific-info { - container odl { - leaf username { - type string { - length "1..255"; - } - } - - leaf password { - type string { - length "1..32"; - } - } - - leaf url { - type string { - length "1..255"; - } - } - } - container mock { - leaf username { - type string; - } - leaf plugin-name { - type string; - default "rwsdn_mock"; - } - } - - container sdnsim { - leaf username { - type string; - } - leaf plugin-name { - type string; - default "rwsdn_sim"; - } - } - } - } - grouping provider-auth { leaf account-type { type manotypes:cloud-account-type; @@ -231,11 +175,27 @@ 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; } + leaf region { + type string; + default "RegionOne"; + } + leaf admin { type boolean; default false; @@ -971,10 +931,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; @@ -991,6 +962,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 { @@ -1031,6 +1014,10 @@ module rwcal type boolean; default false; } + leaf port-security-enabled { + description "Enables the port security"; + type boolean; + } uses connection-point-type; } @@ -1092,6 +1079,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 { @@ -1207,8 +1200,27 @@ 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; + } + } } + container vnf-resources { rwpb:msg-new VNFResources; config false;