← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1971646] [NEW] [api]add port_forwarding_id when list floatingip

 

Public bug reported:

when we enable "port_forwarding" plugin and list floating ip, we can get like:
{
    "floatingips": [
        {
            "router_id": "0303bf18-2c52-479c-bd68-e0ad712a1639",
            "description": "for test with port forwarding",
            "dns_domain": "my-domain.org.",
            "dns_name": "myfip3",
            "created_at": "2018-06-15T02:12:48Z",
            "updated_at": "2018-06-15T02:12:57Z",
            "revision_number": 1,
            "project_id": "4969c491a3c74ee4af974e6d800c62de",
            "tenant_id": "4969c491a3c74ee4af974e6d800c62de",
            "floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57",
            "fixed_ip_address": null,
            "floating_ip_address": "172.24.4.42",
            "port_id": null,
            "id": "898b198e-49f7-47d6-a7e1-53f626a548e6",
            "status": "ACTIVE",
            "tags": [],
            "port_forwardings": [
                {
                    "protocol": "tcp",
                    "internal_ip_address": "10.0.0.19",
                    "internal_port": 25,
                    "external_port": 2225
                },
                {
                    "protocol": "tcp",
                    "internal_ip_address": "10.0.0.18",
                    "internal_port": 16666,
                    "external_port": 8786
                }
            ],
            "qos_network_policy_id": "174dd0c1-a4eb-49d4-a807-ae80246d82f4",
            "qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae"
        }
    ]
}

if we list floating ip and want to pperate a port forwarding, we still need call "/v2.0/floatingips/{floatingip_id}/port_forwardings" and get port_forwarding "id". 
this is inefficient.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1971646

Title:
  [api]add port_forwarding_id when list floatingip

Status in neutron:
  New

Bug description:
  when we enable "port_forwarding" plugin and list floating ip, we can get like:
  {
      "floatingips": [
          {
              "router_id": "0303bf18-2c52-479c-bd68-e0ad712a1639",
              "description": "for test with port forwarding",
              "dns_domain": "my-domain.org.",
              "dns_name": "myfip3",
              "created_at": "2018-06-15T02:12:48Z",
              "updated_at": "2018-06-15T02:12:57Z",
              "revision_number": 1,
              "project_id": "4969c491a3c74ee4af974e6d800c62de",
              "tenant_id": "4969c491a3c74ee4af974e6d800c62de",
              "floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57",
              "fixed_ip_address": null,
              "floating_ip_address": "172.24.4.42",
              "port_id": null,
              "id": "898b198e-49f7-47d6-a7e1-53f626a548e6",
              "status": "ACTIVE",
              "tags": [],
              "port_forwardings": [
                  {
                      "protocol": "tcp",
                      "internal_ip_address": "10.0.0.19",
                      "internal_port": 25,
                      "external_port": 2225
                  },
                  {
                      "protocol": "tcp",
                      "internal_ip_address": "10.0.0.18",
                      "internal_port": 16666,
                      "external_port": 8786
                  }
              ],
              "qos_network_policy_id": "174dd0c1-a4eb-49d4-a807-ae80246d82f4",
              "qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae"
          }
      ]
  }

  if we list floating ip and want to pperate a port forwarding, we still need call "/v2.0/floatingips/{floatingip_id}/port_forwardings" and get port_forwarding "id". 
  this is inefficient.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1971646/+subscriptions



Follow ups