Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If NameLoad body For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore IfExp Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Assign NameStore BinOpMod Call NameLoad Str AttributeLoad NameLoad attr If BoolOpOr CompareIn NameLoad Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Call NameLoad Str NameLoad Return Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore IfExp Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword BinOpAdd Str Call NameLoad NameLoad orelse For NameStore Call AttributeLoad NameLoad attr body For NameStore NameLoad body If CompareIn NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Break If NameLoad body Assign NameStore NameLoad If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body If BoolOpAnd AttributeLoad NameLoad attr CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Pass orelse If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad keyword BinOpMod Call NameLoad Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad NameLoad attr body If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body For NameStore AttributeLoad NameLoad attr body If CompareEq NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Call NameLoad NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Str If NameLoad body For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body If UnaryOpNot Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword Str For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Break decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If BoolOpOr CompareNotEq Call NameLoad NameLoad Num UnaryOpNot CompareLtELtE Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num CompareEq SubscriptLoad NameLoad Index Num Num body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str orelse If CompareIn NameLoad TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body If BoolOpAnd CompareNotIn NameLoad AttributeLoad NameLoad attr CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list
N/A N/A logging toscaparser.common.exception ExceptionCollector toscaparser.common.exception InvalidPropertyValueError toscaparser.common.exception MissingRequiredFieldError toscaparser.common.exception TypeMismatchError toscaparser.common.exception UnknownFieldError toscaparser.common.exception ValidationError toscaparser.dataentity DataEntity toscaparser.elements.interfaces CONFIGURE toscaparser.elements.interfaces CONFIGURE_SHORTNAME toscaparser.elements.interfaces InterfacesDef toscaparser.elements.interfaces LIFECYCLE toscaparser.elements.interfaces LIFECYCLE_SHORTNAME toscaparser.elements.relationshiptype RelationshipType toscaparser.entity_template EntityTemplate toscaparser.relationship_template RelationshipTemplate toscaparser.utils.gettextutils _ N/A log N/A N/A logging getLogger tosca NodeTemplate N/A EntityTemplate N/A N/A Node template from a Tosca profile. __init__ N/A N/A self name node_templates custom_def available_rel_tpls available_rel_types N/A None None None N/A N/A N/A N/A N/A super NodeTemplate self __init__ name N/A node_templates N/A name node_type custom_def N/A N/A self templates node_templates N/A N/A N/A self _validate_fields N/A node_templates N/A name N/A N/A self custom_def custom_def N/A N/A self related N/A N/A N/A self relationship_tpl N/A N/A N/A self available_rel_tpls available_rel_tpls N/A N/A self available_rel_types available_rel_types N/A N/A self _relationships N/A N/A relationships N/A N/A self N/A N/A N/A N/A N/A self _relationships N/A N/A requires N/A self requirements N/A requires N/A N/A r requires N/A N/A N/A r1 value N/A N/A r items N/A N/A explicit N/A N/A self _get_explicit_relationship r value N/A explicit N/A N/A N/A key value N/A N/A explicit items N/A N/A N/A N/A self _relationships N/A key value N/A N/A self _relationships N/A property _get_explicit_relationship N/A N/A self req value N/A N/A N/A Handle explicit relationship

        For example,
        - req:
            node: DBMS
            relationship: tosca.relationships.HostedOn
         N/A explicit_relation N/A N/A node N/A N/A isinstance value dict N/A N/A value get node value N/A node N/A N/A msg N/A N/A _ Lookup by TOSCA types is not supported. Requirement for "%s" can not be full-filled. N/A self name N/A N/A N/A node N/A list N/A N/A N/A N/A self type_definition TOSCA_DEF keys N/A node N/A self custom_def N/A N/A N/A N/A ExceptionCollector appendException N/A NotImplementedError msg N/A N/A N/A node N/A self templates N/A N/A N/A N/A ExceptionCollector appendException N/A KeyError N/A N/A _ Node template "%s" was not found. node N/A N/A related_tpl N/A NodeTemplate node N/A self templates N/A self custom_def N/A relationship N/A N/A isinstance value dict N/A N/A value get relationship None N/A N/A relationship N/A N/A parent_reqs N/A N/A N/A self type_definition get_all_requirements N/A N/A parent_reqs None N/A N/A N/A N/A ExceptionCollector appendException N/A ValidationError message N/A parent_req is  N/A str parent_reqs N/A N/A key N/A N/A req keys N/A N/A req_dict parent_reqs N/A N/A N/A key N/A N/A req_dict keys N/A N/A relationship N/A N/A N/A N/A req_dict get key get relationship N/A N/A relationship N/A N/A found_relationship_tpl False N/A N/A self available_rel_tpls N/A N/A tpl N/A self available_rel_tpls N/A N/A N/A N/A tpl name relationship N/A N/A rtype N/A RelationshipType N/A tpl type None N/A self custom_def N/A N/A explicit_relation N/A rtype related_tpl N/A N/A tpl target related_tpl N/A N/A tpl source self N/A N/A N/A N/A self relationship_tpl append tpl N/A found_relationship_tpl True N/A rel_prfx N/A N/A self type_definition RELATIONSHIP_PREFIX N/A N/A found_relationship_tpl N/A N/A N/A isinstance relationship dict N/A N/A relationship N/A N/A relationship get type N/A relationship N/A N/A N/A N/A self available_rel_types N/A relationship N/A N/A N/A self available_rel_types keys N/A N/A N/A N/A N/A N/A N/A relationship startswith rel_prfx N/A N/A relationship N/A rel_prfx relationship N/A N/A N/A N/A ExceptionCollector appendException N/A MissingRequiredFieldError what N/A N/A _ "relationship" used in template "%s" N/A related_tpl name required N/A self TYPE N/A rtype N/A N/A N/A N/A self type_definition relationship keys N/A N/A N/A N/A rtype type relationship N/A N/A N/A explicit_relation N/A rtype related_tpl N/A N/A N/A related_tpl _add_relationship_template req N/A rtype type self N/A N/A N/A self available_rel_types N/A N/A N/A relationship N/A N/A N/A self available_rel_types keys N/A N/A rel_type_def N/A N/A N/A self available_rel_types get relationship N/A N/A derived_from rel_type_def N/A N/A super_type N/A N/A rel_type_def get derived_from N/A N/A N/A N/A super_type startswith rel_prfx N/A N/A super_type N/A rel_prfx super_type N/A N/A N/A rtype type super_type N/A N/A N/A explicit_relation N/A rtype related_tpl N/A N/A N/A related_tpl _add_relationship_template req N/A rtype type self N/A explicit_relation N/A _add_relationship_template N/A N/A self requirement rtype source N/A N/A N/A req N/A N/A requirement copy N/A N/A req N/A type rtype N/A tpl N/A RelationshipTemplate req rtype N/A self custom_def self source N/A N/A N/A N/A self relationship_tpl append tpl N/A get_relationship_template N/A N/A self N/A N/A N/A N/A self relationship_tpl N/A _add_next N/A N/A self nodetpl relationship N/A N/A N/A N/A N/A self related N/A nodetpl relationship N/A related_nodes N/A N/A self N/A N/A N/A N/A N/A self related N/A N/A N/A relation node N/A N/A N/A N/A self type_definition relationship items N/A N/A tpl N/A self templates N/A N/A N/A tpl N/A node type N/A N/A N/A N/A self related N/A N/A NodeTemplate tpl relation N/A N/A N/A N/A self related keys N/A property validate N/A N/A self tosca_tpl N/A None N/A N/A N/A N/A self _validate_capabilities N/A N/A N/A self _validate_requirements N/A N/A N/A self _validate_properties N/A self entity_tpl N/A self type_definition N/A N/A N/A self _validate_interfaces N/A prop N/A N/A self get_properties_objects N/A N/A N/A N/A prop validate N/A _validate_requirements N/A N/A self N/A N/A N/A type_requires N/A N/A N/A self type_definition get_all_requirements N/A allowed_reqs N/A template N/A type_requires N/A N/A treq type_requires N/A N/A N/A key value N/A N/A treq items N/A N/A N/A N/A allowed_reqs append key N/A N/A isinstance value dict N/A N/A key value N/A N/A N/A N/A allowed_reqs append key N/A requires N/A N/A N/A self type_definition get_value N/A self REQUIREMENTS N/A self entity_tpl N/A requires N/A N/A N/A N/A isinstance requires list N/A N/A N/A N/A ExceptionCollector appendException N/A TypeMismatchError what N/A "requirements" of template "%s" N/A self name type list N/A req requires N/A N/A N/A r1 value N/A N/A req items N/A N/A N/A isinstance value dict N/A N/A N/A N/A self _validate_requirements_keys value N/A N/A N/A self _validate_requirements_properties value N/A N/A N/A allowed_reqs append r1 N/A N/A N/A self _common_validate_field req allowed_reqs requirements N/A _validate_requirements_properties N/A N/A self requirements N/A N/A N/A N/A key value N/A N/A requirements items N/A N/A N/A key occurrences N/A N/A N/A N/A self _validate_occurrences value N/A N/A _validate_occurrences N/A N/A self occurrences N/A N/A N/A N/A N/A DataEntity validate_datatype list occurrences N/A value occurrences N/A N/A N/A N/A DataEntity validate_datatype integer value N/A N/A N/A N/A len occurrences 2 N/A N/A 0 N/A occurrences N/A 0 N/A occurrences N/A 1 N/A N/A occurrences N/A 1 0 N/A N/A N/A N/A ExceptionCollector appendException N/A InvalidPropertyValueError what occurrences N/A _validate_requirements_keys N/A N/A self requirement N/A N/A N/A key N/A N/A requirement keys N/A N/A N/A key N/A self REQUIREMENTS_SECTION N/A N/A N/A N/A ExceptionCollector appendException N/A UnknownFieldError what N/A "requirements" of template "%s" N/A self name field key N/A _validate_interfaces N/A N/A self N/A N/A N/A ifaces N/A N/A N/A self type_definition get_value N/A self INTERFACES N/A self entity_tpl N/A ifaces N/A N/A i ifaces N/A N/A N/A name value N/A N/A ifaces items N/A N/A N/A name N/A LIFECYCLE LIFECYCLE_SHORTNAME N/A N/A N/A N/A self _common_validate_field value N/A InterfacesDef interfaces_node_lifecycle_operations interfaces N/A N/A N/A name N/A CONFIGURE CONFIGURE_SHORTNAME N/A N/A N/A N/A self _common_validate_field value N/A InterfacesDef interfaces_relationship_configure_operations interfaces N/A N/A N/A N/A ExceptionCollector appendException N/A UnknownFieldError what N/A "interfaces" of template "%s" N/A self name field name N/A _validate_fields N/A N/A self nodetemplate N/A N/A N/A name N/A N/A nodetemplate keys N/A N/A N/A N/A name N/A self SECTIONS N/A name N/A self SPECIAL_SECTIONS N/A N/A N/A N/A ExceptionCollector appendException N/A UnknownFieldError what N/A Node template "%s" N/A self name field name N/A N/A