leaf port-security-enabled {
description "Enables the port security for the port";
type boolean;
+ default true;
}
}
}
}
+ 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;
}
- uses manotypes:vca-configuration;
+ 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
uses manotypes:image-properties;
+ container vdu-configuration {
+ uses manotypes:vca-configuration;
+ }
+
choice cloud-init-input {
description
"Indicates how the contents of cloud-init script are provided.