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

Fix ip_address in allowed_address_pairs info

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • master
    • None
    • transcriber
    • None
    • Operating System: All
      Platform: All

    • 6641
    • Normal

    Description

      Update a Neutron port with an allowed_address_pair and query the port info using Postman.
      The allowed_address_pairs info in the port details does not show the ip_address properly.

      neutron port-update c4a2ac9f-98d6-483c-8a72-4daf5e4b4ac8 --allowed_address_pairs type=dict list=true ip_address=192.168.1.200

      http://127.0.0.1:8080/controller/nb/v2/neutron/ports/c4a2ac9f-98d6-483c-8a72-4daf5e4b4ac8
      {
      "port": {
      "id": "c4a2ac9f-98d6-483c-8a72-4daf5e4b4ac8",
      "tenant_id": "a7d11fdce14049bdbbe475c4d627474d",
      "network_id": "2ccda909-945c-4bb0-a34e-5d193a96a5a0",
      "name": "",
      "admin_state_up": true,
      "mac_address": "fa:16:3e:c0:62:87",
      "fixed_ips": [

      { "ip_address": "11.1.1.11", "subnet_id": "69e1183e-39a6-4144-b70f-156d20dc82fe" }

      ],
      "device_id": "",
      "device_owner": "",
      "security_groups": [

      { "id": "7cb29c8b-2c16-4bab-872a-610d2ddb3729" }

      ],
      "allowed_address_pairs": [

      { "mac_address": "fa:16:3e:c0:62:87", "ip_address": "[C@5f7fa0de" }

      ],
      "binding:host_id": "",
      "binding:vnic_type": "normal",
      "binding:vif_type": "unbound",
      "Map": {},
      "extra_dhcp_opts": [],
      "port_security_enabled": true
      }
      }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            SridharG Sridhar Gaddam
            SridharG Sridhar Gaddam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: