}
}
+ 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
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.";
enum vm-init-phase;
enum vm-alloc-pending;
enum running;
+ enum upgrading;
enum terminate;
enum vl-terminate-phase;
enum terminated;
enum vl-init-phase;
enum vm-init-phase;
enum running;
+ enum upgrading; // Experimental
enum terminate;
enum vm-terminate-phase;
enum vl-terminate-phase;
vm-init-phase : The VDUs in the VNF is being created in VIM.
vm-alloc-pending : The VM alloc is pending in VIM
running : The VDU is active in VM
+ upgrading : The VDU is being upgraded (EXPERIMENTAL)
terminate : The VDU is being terminated
vm-terminate-phase : The VDU in the VNF is being terminated in VIM.
terminated : The VDU is in the terminated state.