Ask Your Question
0

Is it possible to read attributes of existing neutron port in Heat template

asked 2016-09-28 20:36:04 -0500

Rizwan gravatar image

I am trying to put MAC address and IP address of an existing neutron port in heat server metadata

 resources:
   my_vm:
      type: OS::Nova::Server
      properties:
          name: "testvm"
          image: { get_param: var_Image }
          flavor: "m1.tiny"
          networks:
          - port: c58216cd-1ee1-4463-8339-3f0054fe0a3f
          metadata: { "PORT_IP_ADDRESS": "PORT_IP_ADDRESS_HERE",
           "POR_MAC_ADDRESS": "MAC_ADDRESS_HERE" }
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-03 10:16:48 -0500

zaneb gravatar image

You can pass them in as parameters, but there's no way to fetch them in Heat given just a port UUID.

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

1 follower

Stats

Asked: 2016-09-28 20:36:04 -0500

Seen: 183 times

Last updated: Oct 03 '16