X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=models%2Fyang%2Fvnfd-base.yang;h=0cd8e450e5f925c4a80d31f88cbd1bf14b2d075c;hp=a320ed1e6d19604ff8e656306031390a39d54e30;hb=c038a8d7a32f350cf88d952b4978bbaf9585d222;hpb=18e4ca5eb98d4337a8a591636d348643ef96b0bd diff --git a/models/yang/vnfd-base.yang b/models/yang/vnfd-base.yang index a320ed1..0cd8e45 100644 --- a/models/yang/vnfd-base.yang +++ b/models/yang/vnfd-base.yang @@ -20,7 +20,7 @@ module vnfd-base { - namespace "http://riftio.com/ns/riftware-1.0/vnfd-base"; + namespace "urn:etsi:osm:yang:vnfd-base"; prefix "vnfd-base"; import mano-types { @@ -95,15 +95,17 @@ module vnfd-base description "Specifies the type of virtual interface between VM and host. - VIRTIO : Use the traditional VIRTIO interface. + PARAVIRT : Use the default paravirtualized interface for the VIM (virtio, vmxnet3, etc.). + VIRTIO : Deprecated! Use the traditional VIRTIO interface. PCI-PASSTHROUGH : Use PCI-PASSTHROUGH interface. SR-IOV : Use SR-IOV interface. E1000 : Emulate E1000 interface. RTL8139 : Emulate RTL8139 interface. PCNET : Emulate PCNET interface. - OM-MGMT : Deprecated! Use VIRTIO instead and set the VNF management interface at vnfd:mgmt-interface:cp"; + OM-MGMT : Deprecated! Use PARAVIRT instead and set the VNF management interface at vnfd:mgmt-interface:cp"; type enumeration { + enum PARAVIRT; enum OM-MGMT; enum PCI-PASSTHROUGH; enum SR-IOV; @@ -112,7 +114,7 @@ module vnfd-base enum RTL8139; enum PCNET; } - default "VIRTIO"; + default "PARAVIRT"; } leaf vpci { @@ -415,7 +417,24 @@ module vnfd-base list alarm { key "alarm-id"; - uses manotypes:alarm; + leaf alarm-id { + description + "This field is reserved for the identifier assigned by the VIM provider"; + + type string; + } + + + leaf vnf-monitoring-param-ref { + description + "Reference to the VNF level monitoring parameter + that is aggregated"; + type leafref { + path "../../monitoring-param/id"; + } + } + + uses manotypes:alarm-properties; } uses manotypes:image-properties; @@ -719,7 +738,9 @@ module vnfd-base leaf scale-in-threshold { description "Value below which scale-in requests are generated"; - type uint64; + type decimal64{ + fraction-digits 10; + } } leaf scale-in-relational-operation { @@ -733,7 +754,9 @@ module vnfd-base leaf scale-out-threshold { description "Value above which scale-out requests are generated"; - type uint64; + type decimal64{ + fraction-digits 10; + } } leaf scale-out-relational-operation {