Uploaded image for project: 'Multicloud'
  1. Multicloud
  2. MULTICLOUD-212

MC does not handle multiple ip address while creating port

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • Beijing Release
    • None
    • None

      tmpip = port.pop("ip", None)
      tmpsubnet = port.pop("subnetId", None)
      if tmpip and tmpsubnet:
      fixed_ip = {
      "ip_address": tmpip,
      "subnet_id": tmpsubnet,
      }
      port["fixed_ips"] = []
      port["fixed_ips"].append(fixed_ip)

       

      Refer to the new DM, "ip" popped out from the dict might contain multiple ip addresses defined in tosca. MC does not handle this case.

            kailun.qin kailun.qin
            kailun.qin kailun.qin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: