1 tosca_definitions_version: tosca_simple_yaml_1_0_0
5 - openecomp_heat_index:
6 file: openecomp-heat/_index.yml
13 description: Start of src port
14 private_net_1_gateway:
18 description: Private network gateway address
23 description: Name of private network to be created
24 private_net_2_gateway:
28 description: Private network gateway address
33 description: Virtual network id
38 description: Name of private network to be created
39 private_net_2_pool_start:
43 description: Start of private network IP address allocation pool
48 description: Private network address (CIDR notation)
49 private_net_1_pool_end:
53 description: End of private network IP address allocation pool
58 description: End of src port
63 description: service to apply
68 description: Start of dst port
73 description: End of dst port
78 description: Private network address (CIDR notation)
79 private_net_1_pool_start:
83 description: Start of private network IP address allocation pool
84 private_net_2_pool_end:
88 description: End of private network IP address allocation pool
93 description: Direction of Policy
96 type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
99 get_input: private_net_1_name
103 get_input: private_net_1_cidr
105 get_input: private_net_1_gateway
108 get_input: private_net_1_pool_start
110 get_input: private_net_1_pool_end
112 type: org.openecomp.resource.vfc.rules.nodes.heat.network.contrail.NetworkRules
118 get_input: start_src_ports
120 get_input: end_src_ports
124 - get_input: apply_service
126 - virtual_network: private_net_1
129 get_input: start_dst_ports
131 get_input: end_dst_ports
133 - virtual_network: private_net_2
137 get_input: policy_name
140 capability: tosca.capabilities.Attachment
142 relationship: org.openecomp.relationships.AttachesTo
144 capability: tosca.capabilities.Attachment
146 relationship: org.openecomp.relationships.AttachesTo
148 type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
151 get_input: private_net_2_name
155 get_input: private_net_2_cidr
157 get_input: private_net_2_gateway
160 get_input: private_net_2_pool_start
162 get_input: private_net_2_pool_end
164 network_policy_chain_group:
165 type: org.openecomp.groups.heat.HeatStack
167 heat_file: ../Artifacts/network_policy_chain.yaml
169 HOT template to creates two virtual network with one subnet each. Creates a network policy for applying service between two VNs created before. Attach the network policy to two virtual networks