Comment 1 for bug 1739744

Revision history for this message
Andrew Price (andrpric) wrote :

You can specify the net-id like:

  NovaServers.boot_server_and_attach_interface:
    -
      args:
        flavor:
            name: "compute-A"
        image:
            name: "Ubuntu-16.04"
        auto_assign_nic: true
        nics:
          - net-id: bebcebae-06a3-4796-8713-4375b02ae0fb
      runner:
        type: "constant"
        times: 1
        concurrency: 1
      context:
        network: {}
        users:
          tenants: 1
          users_per_tenant: 1
        quotas:
          neutron:
            network: -1
            subnet: -1
      sla:
        failure_rate:
          max: 0