forked from redhat-openstack/openshift-on-openstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sdn_openshift_sdn.yaml
40 lines (34 loc) · 918 Bytes
/
sdn_openshift_sdn.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
heat_template_version: 2016-10-14
description: >
A template which provides a creates a dedicated network for container communication
parameters:
network:
description: >
The name or ID of the internal network
type: string
constraints:
- custom_constraint: neutron.network
subnet:
description: >
The name or ID of the internal IPv4 space
type: string
constraints:
- custom_constraint: neutron.subnet
security_group:
description: >
ID of the network access policies
type: string
resources:
security_group_port:
type: OS::Neutron::Port
properties:
security_groups:
- {get_param: security_group}
network: {get_param: network}
fixed_ips:
- subnet: {get_param: subnet}
replacement_policy: AUTO
outputs:
port:
description: A reference to the created port
value: {get_resource: security_group_port}