Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1129

Add more interfaces of the same network

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9.2, 2.0.0
    • 2.0.0
    • jclouds-compute
    • None
    • Ubuntu 14.04

    Description

      When I create a new VM, i would like to add more interfaces from the same network, but because implementation uses ImmutableSet instead of List, only the distinct ones are preserved.

      public CreateServerOptions networks(Iterable<String> networks) {
      this.networks = ImmutableSet.copyOf(networks);
      return this;
      }

      I can achive the desired with heat, providing the same networks:
      cirros-one-to-four:
      type: OS::Nova::Server
      properties:
      availability_zone: nova
      flavor: m1.tiny
      image: TestVM
      networks:

      • network: lkra-mgmt-1
      • network: lkra-mgmt-2
      • network: lkra-mgmt-2
      • network: lkra-mgmt-2
        user_data_format: RAW
        user_data: |

      Attachments

        Activity

          People

            Unassigned Unassigned
            bam123 Urban Zaletel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: