X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FIM.git;a=blobdiff_plain;f=models%2Fyang%2Fvnfd-base.yang;h=2a20d9007a300c7bca8563e81813630061d99150;hp=c2eae3575cb9d5e8a68cf621428eb185126532ad;hb=fcfb1cb90673befaf095fa2fb603e570ce2b06ec;hpb=ce30ffe01241f5ffb2e7bb860dfbcfac4795902c diff --git a/models/yang/vnfd-base.yang b/models/yang/vnfd-base.yang index c2eae35..2a20d90 100644 --- a/models/yang/vnfd-base.yang +++ b/models/yang/vnfd-base.yang @@ -74,6 +74,17 @@ module vnfd-base } } + typedef vnf-operational-status { + type enumeration { + enum init; + enum running; + enum upgrading; + enum terminate; + enum terminated; + enum failed; + } + } + grouping virtual-interface { container virtual-interface { description @@ -160,11 +171,23 @@ module vnfd-base type string; } - container vnf-configuration { uses manotypes:vca-configuration; } + leaf operational-status { + description + "The operational status of the VNF + init : The VNF has just started. + running : The VNF is active in VM + upgrading : The VNF is being upgraded (EXPERIMENTAL) + terminate : The VNF is being terminated + terminated : The VNF is in the terminated state. + failed : The VNF instantiation failed. + "; + type vnf-operational-status; + } + container mgmt-interface { description "Interface over which the VNF is managed.";