title: Can we rename our ports in heat template ? Do they appear in VM in same order as listed in heat template?
body: <p>I want to create a VM with 3 SRIOV ports ( heat template pasted below).  I would like each port to appear with some specific name in VM, is it possible? . Is there a guarantee that port will appear in VM in order specified in heat template?</p>
  <p>For Eg</p>
  <pre><code>resources:
    vm1_server_0:
      type: OS::Nova::Server
      properties:
        name: {get_param: [vm1_names, 0]}
        image: {get_param: vm1_image_name}
        flavor: {get_param: vm1_flavor_name}
        availability_zone: {get_param: availability_zone_0}
        networks:
          - port: {get_resource: vm1_0_direct_port_0}
          - port: {get_resource: vm1_0_direct_port_1}
          - port: {get_resource: vm1_0_direct_port_2}
  </code></pre>
  <ol>
  <li><p>Can I rename vm1_0_direct_port_0 to &quot;eth0&quot; and vm1_0_direct_port_1 to &quot;10Geth0&quot; and vm1_0_direct_port_2 to &quot;10Geth1&quot; in heat template itself ?</p>
  </li>
  <li><p>If above is not possible, I need to be sure of order with which they appear in lspci|grep &quot;Virtual Function&quot; ( if those are sriov ports) ie like vm1_0_direct_port_0 appearing as 0000:04.01.00 and next vm1_0_direct_port_1 as 0000:04:01.01 and vm1_0_direct_port_2 as 0000:04:01.02 ?  for me to rename using udev rules in VM.</p>
  </li>
  </ol>