X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Ftest%2Fresources%2FymlFiles%2Fresource-Securityrules-template.YML;fp=src%2Ftest%2Fresources%2FymlFiles%2Fresource-Securityrules-template.YML;h=0221cd57d839816bd12168423b3c30790f8265b0;hb=7f592e87a5ba61a8538d6f399f3778b884a9b3ce;hp=0000000000000000000000000000000000000000;hpb=de97feac66e234a0ebea9bf0774aa01136f3c04f;p=aai%2Fbabel.git diff --git a/src/test/resources/ymlFiles/resource-Securityrules-template.YML b/src/test/resources/ymlFiles/resource-Securityrules-template.YML new file mode 100644 index 0000000..0221cd5 --- /dev/null +++ b/src/test/resources/ymlFiles/resource-Securityrules-template.YML @@ -0,0 +1,48 @@ +tosca_definitions_version: tosca_simple_yaml_1_0 +metadata: + invariantUUID: dd31d2de-0a7f-4198-8966-3a04100fbfe3 + UUID: d57e57d2-e3c6-470d-8d16-e6ea05f536c5 + name: SecurityRules + description: Configuration of policy rules to be applied on ports. + type: VFC + category: Generic + subcategory: Rules + resourceVendor: ATT (Tosca) + resourceVendorRelease: 1.0.0.wd03 +imports: +- nodes: + file: nodes.yml +- datatypes: + file: data.yml +- capabilities: + file: capabilities.yml +- relationships: + file: relationships.yml +- groups: + file: groups.yml +- policies: + file: policies.yml +node_types: + org.openecomp.resource.vfc.rules.nodes.heat.network.neutron.SecurityRules: + derived_from: tosca.nodes.Root + description: Configuration of policy rules to be applied on ports. + properties: + name: + type: string + description: A symbolic name for this security group, which is not required to be unique. + description: + type: string + description: Description of the security group + rules: + type: list + description: List of security group rules + entry_schema: + type: org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule + requirements: + - port: + occurrences: + - 0 + - UNBOUNDED + capability: tosca.capabilities.Attachment + node: org.openecomp.resource.cp.nodes.heat.network.neutron.Port + relationship: org.openecomp.relationships.AttachesTo