prefix "inet";
}
- import rw-pb-ext {
- prefix "rwpb";
- }
-
import rw-project {
prefix "rw-project";
}
}
}
-
grouping vca-configuration {
description
"Information about the VNF or VDU configuration. Note:
type string;
}
uses manotypes:vca-relationships;
-
}
}
+ }
+ list config-primitive {
+ description
+ "List of config primitives supported by the
+ configuration agent for this VNF or VDU.";
+ key "name";
- list service-primitive {
- rwpb:msg-new ServicePrimitive;
+ leaf name {
description
- "List of config primitives supported by the
- configuration agent for this VNF or VDU.";
- key "name";
-
- leaf name {
- description
- "Name of the config primitive.";
- type string;
- }
+ "Name of the config primitive.";
+ type string;
+ }
- list parameter {
- description
- "List of parameters to the config primitive.";
- key "name";
- uses primitive-parameter;
- }
+ list parameter {
+ description
+ "List of parameters to the config primitive.";
+ key "name";
+ uses primitive-parameter;
+ }
- leaf user-defined-script {
- description
- "A user defined script. If user defined script is defined,
- the script will be executed using bash";
- type string;
- }
+ leaf user-defined-script {
+ description
+ "A user defined script. If user defined script is defined,
+ the script will be executed using bash";
+ type string;
}
+ }
- list initial-config-primitive {
- rwpb:msg-new InitialConfigPrimitive;
+ list initial-config-primitive {
+ description
+ "Initial set of configuration primitives.";
+ key "seq";
+ leaf seq {
description
- "Initial set of configuration primitives.";
- key "seq";
- leaf seq {
- description
- "Sequence number for the configuration primitive.";
- type uint64;
- }
+ "Sequence number for the configuration primitive.";
+ type uint64;
+ }
- choice primitive-type {
- case primitive-definition {
- leaf name {
- description
- "Name of the configuration primitive.";
- type string;
- }
+ choice primitive-type {
+ case primitive-definition {
+ leaf name {
+ description
+ "Name of the configuration primitive.";
+ type string;
+ }
- uses primitive-parameter-value;
+ uses primitive-parameter-value;
- leaf user-defined-script {
- description
- "A user defined script.";
- type string;
- }
+ leaf user-defined-script {
+ description
+ "A user defined script.";
+ type string;
}
}
}
}
list user {
- rwpb:msg-new CloudConfigUser;
key "name";
description "List of users to be added through cloud-config";