Ask Your Question
0

subnet vs network to set in the OS::Neutron::Port

asked 2014-08-27 21:52:44 -0500

Eric GH gravatar image

in the OS::Neutron::Port defination

heat_template_version: 2013-05-23
...
resources:
  ...
  the_resource:
    type: OS::Neutron::Port
    properties:
      admin_state_up: Boolean
      allowed_address_pairs: [{"ip_address": String, "mac_address": String}, {"ip_address": String, "mac_address": String}, ...]
      device_id: String
      device_owner: String
      **fixed_ips**: [{"subnet_id": String, "subnet": String, "ip_address": String}, {"subnet_id": String, "subnet": String, "ip_address": String}, ...]
      mac_address: String
      name: String
      **network: String**
      security_groups: [Value, Value, ...]
      value_specs: {...}

Both the network and subnet are optional Properties

Is that true if I have both information I would rather just use the subnet (as it shall belong to one network) if I use static IP?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-08-28 08:39:19 -0500

Eric GH gravatar image

Just tried. It did not pass thru with the only subnet-id

Property network_id not assigned
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-08-27 21:52:44 -0500

Seen: 388 times

Last updated: Aug 28 '14