Fixes NFV VNFFG and groups
Fixes Include: - nfv.VNFFG type does not include "targets" in its properties in the TOSCA NFV spec. The usage of "targets" should actually be "members" which is defined in the core group.Root definition. - Removes vnf.VNFFG requirements which are not part of the spec. - Fixes reference to TARGETS in groups.py SECTIONS Change-Id: I0990eb9c1339943b420a2896c4cc59663a328393 Signed-off-by: Tim Rozet <trozet@redhat.com>
This commit is contained in:
parent
9fd69f2bed
commit
10ac81e353
@ -235,16 +235,3 @@ tosca.groups.nfv.VNFFG:
|
|||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
description: Reference to a list of VNFD used in this VNF Forwarding Graph
|
description: Reference to a list of VNFD used in this VNF Forwarding Graph
|
||||||
|
|
||||||
targets:
|
|
||||||
type: list
|
|
||||||
entry_schema:
|
|
||||||
type: string
|
|
||||||
required: false
|
|
||||||
description: list of Network Forwarding Path within the VNFFG
|
|
||||||
|
|
||||||
requirements:
|
|
||||||
- forwarder:
|
|
||||||
capability: tosca.capabilities.nfv.Forwarder
|
|
||||||
relationship: tosca.relationships.nfv.ForwardsTo
|
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ from toscaparser.common.exception import UnknownFieldError
|
|||||||
from toscaparser.entity_template import EntityTemplate
|
from toscaparser.entity_template import EntityTemplate
|
||||||
from toscaparser.utils import validateutils
|
from toscaparser.utils import validateutils
|
||||||
|
|
||||||
SECTIONS = (TYPE, METADATA, DESCRIPTION, PROPERTIES, TARGETS, INTERFACES) = \
|
SECTIONS = (TYPE, METADATA, DESCRIPTION, PROPERTIES, MEMBERS, INTERFACES) = \
|
||||||
('type', 'metadata', 'description',
|
('type', 'metadata', 'description',
|
||||||
'properties', 'members', 'interfaces')
|
'properties', 'members', 'interfaces')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user