Commit Graph

12 Commits

Author SHA1 Message Date
LiZekun 8ad510e60b Remove unicode literal from code
All strings are considered as unicode literal string from Python 3.

This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.

Change-Id: I71621b95c87e7c10e86d8341173967235912053d
2022-06-06 11:37:59 +00:00
Andreas Jaeger 7dc2857705 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I02b83b2d2ffa7e007f8150176ac881a8b6a53495
2020-06-02 00:19:08 +00:00
Ghanshyam 42aac38cc8 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

neutron-tempest-plugin is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/705184/

Change-Id: I9daafef0847a9a9baa45382b87da71fe8d1fffd0
2020-02-26 15:35:20 +00:00
Lucas Alvares Gomes b5114e078f Enhance the test_multicast_between_vms_on_same_network test
This patch is enhancing the test_multicast_between_vms_on_same_network
test to fit the different scenarios that can be encountered when using
multicast:

1) When IGMP snooping is enabled and the multicast group address *is not*
   in the 224.0.0.X range [0], asserts that the multicast traffic *is not*
   flooded.

2) When IGMP snooping is not enabled, asserts that the multicast traffic
   is flooded and the unregistered VM gets it.

3) When IGMP snooping is enabled and the multicast group addres *is* in
   the 224.0.0.X range [0], asserts that the multicast traffic *is*
   flooded.

In order to make those assertions, a new VM is being launched as part of
the test running tcpdump to verify whether the traffic is reaching it or
not.

A new configuration option called "is_igmp_snooping_enabled" has been
added.

[0] https://tools.ietf.org/html/rfc4541 (See section 2.1.2)

Change-Id: I8af041925119463c7199238988f0133e8d993a8f
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-02-11 15:13:36 +00:00
pengyuesheng 88ff7434af Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I2e12b3da4686bf9f18d55fbb629d8a4525f3bc8d
2019-07-26 11:34:09 +08:00
jacky06 25cea25f12 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Remove unncessary "=="

Change-Id: Id733fe1f513e756eb7bb2e8314bdb5dacc5dacd3
2019-06-19 22:58:47 +08:00
Zuul 55dfb3193c Merge "Add release notes job to zuul template" 2018-09-18 04:41:16 +00:00
Brian Haley 2cbb10eb3f Add release notes job to zuul template
We are not running the release notes job, so are unable to
see the built release notes when they are included in a patch.
Add it as in the other neutron repos.

Also added a similar README.rst as the neutron repo to give
the basic info on release note generation, and fixed up
various issues in the configuration description.

Change-Id: I98ffed3ed77a16bba59cae69a73cb699ddb175fb
2018-09-13 15:26:04 -06:00
Zuul 5247e03ef3 Merge "Add delete_agent to NetworkClientJSON" 2018-09-14 05:27:05 +00:00
Mykola Yakovliev 299c4bd450 Add delete_agent to NetworkClientJSON
This patchset add delete_agent method that implements respective API [1]

[1] https://developer.openstack.org/api-ref/network/v2/index.html#delete-agent

Change-Id: I0f4927944cb48a19eb8cdff5312557b3ba044420
Closes-Bug: 1792007
2018-09-13 12:20:54 -05:00
Federico Ressi bf877c84b3 Deprecate BaseTempestTestCase.create_and_associate_floatingip method
Add new 'debtcollector' dependency with the purpose of deprecating methods
that are going to be removed.

Mark BaseTempestTestCase.create_and_associate_floatingip for removal.

Replace create_and_associate_floatingip with create_floatingip in
BaseTempestTestCase class.

Change-Id: I5c5fd143a5cb4e138c46d13445f8225444bd2f58
2018-08-24 09:00:42 +02:00
Chandan Kumar 5e6198734b Apply cookiecutter to newly split project
This tempest plugin is being split out of the main neutron project in
accordance with Queens goal "Split Tempest Plugins into Separate
Repos/Projects"[1]. This patch applies the standard boilerplate files
for OpenStack projects so that it can stand on its own.

[1] https://governance.openstack.org/tc/goals/queens/split-tempest-plugins.html
2017-09-07 22:23:55 +05:30