# from REQUIRED_FIELDS below
NAME = 'name'
- REQUIRED_FIELDS = (DESC, VERSION, VENDOR, ID) = \
- ('description', 'version', 'vendor', 'id')
+ REQUIRED_FIELDS = (DESC, VERSION, VENDOR, ID, LOGO) = \
+ ('description', 'version', 'vendor', 'id', 'logo')
COMMON_FIELDS = (PATH, PORT, HOST, XPATH, TYPE, COUNT, FILE,
NFV_COMPUTE, HOST_EPA, VSWITCH_EPA, HYPERVISOR_EPA, GUEST_EPA) = \
MEM_VNF_INDEX_REF, VNFD_ID_REF,
MEM_VNF_INDEX, VNF_CONFIG, TYPE_Y,
USER_DEF_SCRIPT, SEQ, PARAM,
- VALUE, START_BY_DFLT,) = \
+ VALUE, START_BY_DFLT, VNFFGD, ) = \
('vld', 'nsd', 'vnfd', 'vdu', 'dashboard_params',
'config_attributes', 'config_template',
'config_type', 'config_details', 'external_interface',
'member_vnf_index_ref', 'vnfd_id_ref',
'member_vnf_index', 'vnf_configuration', 'type_yang',
'user_defined_script', 'seq', 'parameter',
- 'value', 'start_by_default',)
+ 'value', 'start_by_default', 'vnffgd',)
TOSCA_FIELDS = (DERIVED_FROM, PROPERTIES, DEFAULT, REQUIRED,
NO, CONSTRAINTS, REALTIONSHIPS,
T_INITIAL_CFG,
T_ARTF_CLOUD_INIT,
T_PLACEMENT,
- T_ELAN
+ T_ELAN,
+ T_VNFFG,
+ T_FP,
+ T_NS_PRIMITIVE,
) = \
('tosca.policies.nfv.riftio.vnf_configuration',
'tosca.capabilities.riftio.http_endpoint_type',
'tosca.policies.nfv.riftio.initial_config_primitive',
'tosca.artifacts.Deployment.riftio.cloud_init_file',
'tosca.policies.nfv.riftio.placement',
- 'tosca.nodes.nfv.riftio.ELAN'
+ 'tosca.nodes.nfv.riftio.ELAN',
+ 'tosca.groups.nfv.VNFFG',
+ 'tosca.nodes.nfv.riftio.FP1',
+ 'tosca.policies.nfv.riftio.ns_service_primitives',
)
SUPPORT_FILES = ( SRC, DEST, EXISTING) = \
('source', 'destination', 'existing')
- SUPPORT_DIRS = (IMAGE_DIR, SCRIPT_DIR, CLOUD_INIT_DIR) = \
- ('images', 'scripts','cloud_init')
+ SUPPORT_DIRS = (IMAGE_DIR, SCRIPT_DIR, CLOUD_INIT_DIR, ICON_DIR) = \
+ ('images', 'scripts','cloud_init', 'icons')
def __init__(self,
log,