Bug 1536791 - Provider should support using fixed_ips with PORT entities
Summary: Provider should support using fixed_ips with PORT entities
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-provider-ovn
Classification: oVirt
Component: provider
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.2.2
: ---
Assignee: Marcin Mirecki
QA Contact: Mor
URL:
Whiteboard:
: 1530053 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-21 09:39 UTC by Mor
Modified: 2018-03-29 11:16 UTC (History)
5 users (show)

Fixed In Version: ovirt-provider-ovn-1.2.7-2
Clone Of:
Environment:
Last Closed: 2018-03-29 11:16:10 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 87418 0 master MERGED Add fixed_ips to port post and put inputs 2018-02-12 09:40:07 UTC
oVirt gerrit 87419 0 master MERGED Add fixed_ips rest validation 2018-02-12 15:02:05 UTC
oVirt gerrit 87420 0 master MERGED Add ip_in_cidr to ip utils 2018-02-15 08:52:28 UTC
oVirt gerrit 87422 0 master MERGED Add validation for fixed_ip_matches_port_subnet 2018-02-13 12:49:03 UTC
oVirt gerrit 87424 0 master MERGED Handle fixed_ips in ovn_north 2018-02-13 12:54:13 UTC
oVirt gerrit 87425 0 master MERGED Move get_network_exclude_ips to ip utils 2018-02-13 12:54:16 UTC
oVirt gerrit 87426 0 master MERGED Move is_ip_available_in_network to ip utils 2018-02-13 13:54:51 UTC
oVirt gerrit 87427 0 master MERGED Move ip_available_in_network to validation 2018-02-13 13:54:54 UTC
oVirt gerrit 87527 0 master MERGED Consider fixed_ip when adding router interface by port 2018-02-13 13:54:57 UTC
oVirt gerrit 87528 0 master MERGED Update LRP address based on updated LSP fixed_ips 2018-02-16 08:14:03 UTC
oVirt gerrit 87556 0 master MERGED Add validation fixed_ip_port_has_mac 2018-02-13 12:54:10 UTC
oVirt gerrit 87591 0 master MERGED Extract _get_lrp_by_lsp_id to new method 2018-02-13 23:24:31 UTC
oVirt gerrit 87592 0 master MERGED Add port_is_connected_to_router to validation 2018-02-13 23:24:34 UTC

Description Mor 2018-01-21 09:39:07 UTC
Description of problem:
ovirt-provider-ovn should support using 'fixed_ips' property with port entities.

Possible -by port- work flows:
- When adding a router interface by port on a network that has a subnet, there should be a way to get the IP that is assigned to the port, and use it to configure a static route on guests.

- When adding a router interface by port on a network with multiple subnets, there should be a way to set the IP address for a specific subnet in the network.

- When adding a router interface by port on a network with multiple subnets, customer can specify a subnet id to get IP from.

- (Less common) when adding a router by port on a network with subnet, there should be a way to set the IP that is assigned to the port, in case a customer wish to specify a specific address (fixed IP) from the IP range.

Version-Release number of selected component (if applicable):
RHV 4.2.1.1-0.1.el7

Additional info:
https://developer.openstack.org/api-ref/network/v2/#ports

Comment 1 Yaniv Lavi 2018-02-07 09:03:57 UTC
*** Bug 1530053 has been marked as a duplicate of this bug. ***

Comment 2 Mor 2018-02-25 11:31:41 UTC
Patch: http://gerrit.ovirt.org/87421 is not merged, why this is ON_QA?

Comment 3 Marcin Mirecki 2018-02-27 08:24:54 UTC
Removed patch: https://gerrit.ovirt.org/#/c/87421/
It is

Comment 4 Mor 2018-02-27 15:02:30 UTC
Verified on:
ovirt-provider-ovn-1.2.7-2.el7ev.noarch
RHV 4.2.2.1-0.1

Comment 5 Sandro Bonazzola 2018-03-29 11:16:10 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.