aboutsummaryrefslogtreecommitdiffstats
path: root/deployed-server/deployed-neutron-port.yaml
blob: bddf8bc1fc3610dd85c8de2bba20250caeb52848 (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
heat_template_version: ocata

description: "
  A fake OS::Neutron::Port stack which outputs fixed_ips and subnets based on
  the input from the DeployedServerPortMap (set via parameter_defaults). This
  lookup requires the use of port naming conventions. In order for this to work
  with deployed-server the keys should be <hostname>-<network>.
  Example:
    parameter_defaults:
      DeployedServerPortMap:
        gatsby-ctlplane:
          fixed_ips:
            - ip_address: 127.0.0.1
          subnets:
            - cidr: 24"

parameters:
  name:
    default: ''
    type: string
  network:
    default: ''
    type: string
  fixed_ips:
    default: ''
    type: comma_delimited_list
  replacement_policy:
    default: ''
    type: string
  DeployedServerPortMap:
    default: {}
    type: json


outputs:
  fixed_ips:
    value:
      {get_param: [DeployedServerPortMap, {get_param: name}, fixed_ips]}
  subnets:
    value:
      {get_param: [DeployedServerPortMap, {get_param: name}, subnets]}
  name:
    value: {get_param: name}
  status:
    value: DOWN
  allowed_address_pairs:
    value: {}
  device_id:
    value: ''
  device_owner:
    value: {get_param: network}
  dns_assignment:
    value: ''
  port_security_enabled:
    value: False
  admin_state_up:
    value: False
  security_groups:
    value: {}
  network_id:
    value: ''
  tenant_id:
    value: ''
  qos_policy_id:
    value: ''
  mac_address:
    value: ''