9 Commits

Author SHA1 Message Date
Jakub Libosvar
9bf72c14e3 Add bgp tempest job
Change-Id: I927599f00101545db640444ac2c32e90b510b381
2024-02-09 13:42:16 +00:00
elajkat
c9af4dfedf CI: add periodic weekly and experimental queue
Add periodic weekly and experimental queues to ovn-bgp-agent
to increase the coverage and have early warning for issues
with oslo master.
Change openstack-python3-zed-jobs to openstack-python3-jobs-neutron.

Change-Id: I10471cb663aea743dc5f4dd27e1d0cac7ea60a69
2023-06-22 07:51:13 +02:00
Rodolfo Alonso Hernandez
1cbfe7823c Add new privileged method implementations
This patch add the following new privileged methods implementations:
* create_interface: this method will be used to create dummy, vlan,
  vxlan, bridge and vrf interfaces.
* delete_interface: to delete a interface
* set_link_attribute: to set UP the interface
* add_ip_address: to add an IP address on a interface
* delete_ip_address: to delete an IP address on a interface
* set_master_for_device: defines a master device for a second one

These new method use pyroute2 IPRoute class, replacing the use of the
NDB class.

This patch is creating the functional test framework, in order to
test these new methods.

This patch is also adding a new CI job to the gate (to be defined).

Partial-Bug: #2022357
Change-Id: I40d70829bfccb2df98b822afacbdab7da5a5ab7f
2023-06-15 12:12:08 +02:00
Lucas Alvares Gomes
fa68b784ed Publish docs at docs.openstack.org
The project is now part of openstack/governance, we now can publish the
documentation at docs.openstack.org instead of readthedocs.

Change-Id: I2a1577c1b7c12aba9ac91cd4b4857959fe1327da
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2023-05-10 15:58:40 +01:00
Lucas Alvares Gomes
1efb875df1 Publish docs to readthedocs
Docs should be published at https://ovn-bgp-agent.readthedocs.io/

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: I4e59fabd66aa9e67d59937762ff9eadca8fe33fd
2023-01-27 14:55:05 -03:00
Lucas Alvares Gomes
ff5ee813e7 Add releasenotes job
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: Ic55a77c495e7cf7fcc032e5fc17ba58d43715cb2
2023-01-25 10:29:43 -03:00
Luis Tomas Bolivar
ad87834bda Fix pyroute2 import issue
Also use zed python jobs instead of xena

Change-Id: I3e8cdf0046ec561922d88e3e2f24254aa76b9f74
2022-07-08 15:22:22 +01:00
Lucas Alvares Gomes
a1c18eb350 Add unittests to linux_net
* Add unittests to the utils/linux_net.py module
* Re-use set_device_status() in multiple ensure_*() methods
* A TODO was left for unittesting ensure_routing_table_for_bridge() as
  the method could benefit from some refactoring before we add the tests
  and will be done in a separated patch.
* Fix InvalidPortIP() argument that was expecting a kwargs
* Set the minimum test coverage to 30% (right now it's 34%) in an
  attempt to avoid new code being included that will lower the coverage

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: I00a98dae35eda1cbbe9a2db442c66546b4b77657
2022-03-04 11:48:22 +00:00
Lucas Alvares Gomes
8aed020eee Enable basic gate jobs
This patch enables the basic pep8 and unittests jobs.

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: Ibce2e868bdd194d84cf9f75555a9fdf9af905bc9
2021-09-02 11:07:44 +01:00