Uploaded image for project: 'neutron'
  1. neutron
  2. NEUTRON-123

[stable/beryllium]After creating port with multiple fixedIPs resulting in only fixedIP per subnet getting written to MDSAL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • unspecified
    • northbound-api
    • None
    • Operating System: All
      Platform: All

    • 5735
    • High

      Upon creating a port and then updating with multiple fixed IPs per subnet, only one is getting reflected in neutron router config DS.

      openstack command used for creating port with multiple fixed-ips:

      neutron port-create ext-net --fixed-ip subnet_id=d8c6125a-8d1a-4802-8bfe-d287776c8b41,ip_address=12.12.12.8 --fixed-ip subnet_id=d8c6125a-8d1a-4802-8bfe-d287776c8b41,ip_address=12.12.12.9

      What get reflected in MDSAL:

      {
      "ports": [
      {
      "id": "6d8c0b04-f0d5-44d5-bc4d-43e530839e75",
      "tenant_id": "3b54ee92f05c4a45a7e8474badb2e3c8",
      "network_id": "65ddef7d-0261-4d2d-8c3e-a028bde26695",
      "name": "",
      "admin_state_up": true,
      "status": "ACTIVE",
      "mac_address": "FA:16:3E:EA:6E:94",
      "fixed_ips": [

      { "ip_address": "12.12.12.9", "subnet_id": "d8c6125a-8d1a-4802-8bfe-d287776c8b41" }

      ],
      "device_id": "",
      "device_owner": "",
      "security_groups": [
      {
      "id": "40ea057d-1549-4727-86ea-4c3e5dcf107c",
      "tenant_id": "3b54ee92f05c4a45a7e8474badb2e3c8",
      "name": "default",
      "description": "Default security group",
      "security_group_rules": [

      { "id": "1a11c807-e185-40aa-afe3-3696e0f12d64", "tenant_id": "3b54ee92f05c4a45a7e8474badb2e3c8", "direction": "ingress", "ethertype": "IPv6", "remote_group_id": "40ea057d-1549-4727-86ea-4c3e5dcf107c", "security_group_id": "40ea057d-1549-4727-86ea-4c3e5dcf107c" }

      ,

      { "id": "40e96508-a362-43f1-97ea-8486ab461bc4", "tenant_id": "3b54ee92f05c4a45a7e8474badb2e3c8", "direction": "egress", "ethertype": "IPv4", "security_group_id": "40ea057d-1549-4727-86ea-4c3e5dcf107c" }

      ,

      { "id": "a16611c1-f4e6-4223-b48b-c1b11b8ec6c1", "tenant_id": "3b54ee92f05c4a45a7e8474badb2e3c8", "direction": "ingress", "ethertype": "IPv4", "remote_group_id": "40ea057d-1549-4727-86ea-4c3e5dcf107c", "security_group_id": "40ea057d-1549-4727-86ea-4c3e5dcf107c" }

      ,

      { "id": "673ca49f-0ba9-4e70-a63c-0b6f4bf4fb5e", "tenant_id": "3b54ee92f05c4a45a7e8474badb2e3c8", "direction": "egress", "ethertype": "IPv6", "security_group_id": "40ea057d-1549-4727-86ea-4c3e5dcf107c" }

      ]
      }
      ],
      "allowed_address_pairs": [],
      "binding:host_id": "",
      "binding:vnic_type": "normal",
      "binding:vif_type": "unbound",
      "binding:vif_details": [
      {}
      ]
      }
      ]
      }

            Unassigned Unassigned
            suraj.ranjan@ericsson.com Suraj Ranjan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: