tosca_definitions_version: tosca_simple_yaml_1_0_0 metadata: template_name: NeutronSecurityRulesGlobalTypes template_version: 1.0.0 description: Neutron Security Rules TOSCA Global Types imports: - common_definitions: file: CommonGlobalTypesServiceTemplate.yaml data_types: org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule: derived_from: tosca.datatypes.Root description: Rules Pairs properties: remote_group_id: type: string description: The remote group ID to be associated with this security group rule required: false status: supported protocol: type: string description: The protocol that is matched by the security group rule required: false status: supported constraints: - valid_values: - tcp - udp - icmp ethertype: type: string description: Ethertype of the traffic required: false default: IPv4 status: supported constraints: - valid_values: - IPv4 - IPv6 port_range_max: type: integer description: 'The maximum port number in the range that is matched by the security group rule. ' required: false status: supported constraints: - in_range: - 0 - 65535 remote_ip_prefix: type: string description: The remote IP prefix (CIDR) to be associated with this security group rule required: false status: supported remote_mode: type: string description: Whether to specify a remote group or a remote IP prefix required: false default: remote_ip_prefix status: supported constraints: - valid_values: - remote_ip_prefix - remote_group_id direction: type: string description: The direction in which the security group rule is applied required: false default: ingress status: supported constraints: - valid_values: - egress - ingress port_range_min: type: integer description: The minimum port number in the range that is matched by the security group rule. required: false status: supported constraints: - in_range: - 0 - 65535 node_types: org.openecomp.resource.nodes.heat.network.neutron.SecurityRules: derived_from: tosca.nodes.Root properties: description: type: string description: Description of the security group required: false status: supported name: type: string description: A symbolic name for this security group, which is not required to be unique. required: false status: supported rules: type: list description: List of security group rules required: false status: supported entry_schema: type: org.openecomp.datatypes.heat.network.neutron.SecurityRules.Rule attributes: show: type: string description: Detailed information about resource status: supported requirements: - port: capability: tosca.capabilities.Attachment node: org.openecomp.resource.cp.nodes.heat.network.neutron.Port relationship: org.openecomp.relationships.AttachesTo occurrences: - 0 - UNBOUNDED