Commit Graph

54 Commits

Author SHA1 Message Date
Stephen Finucane 79c7de4630 Remove 'bgp speaker show dragents'
This has been deprecated for ages and generates an annoying warning when
building OSC docs. Time to cull it.

Change-Id: I76e4c7ab742d0bf27fecfda8fab41035618a4e24
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-05-17 13:04:37 +01:00
Slawek Kaplonski 52653c95e0 Remove the CLI code from the Neutron client.
This project no longer provides CLI support. All code has been
removed. Please use openstack CLI instead

This patch removes entry point for neutron CLI too, bash completion
script and CLI related functional and unit tests but it
still keeps neutronclient/neutron/v2_0 module as this is used by e.g.
Nova.

Co-Authored-By: Slawek Kaplonski <skaplons@redhat.com>

Closes-Bug: #2003861
Change-Id: I5b6c735d1ff931d7991a42b262e7faa47b75edeb
2023-04-11 13:12:45 +02:00
elajkat 68cbf56f9c Move network trunk commands from python-neutronclient
The depends-on patch adds trunk commands to OSC, as we can
long consider trunk operations as core Networking operations.

Change-Id: Ie557a5d541cf117d20f3f2b548620a74dbadb383
Depends-On: https://review.opendev.org/c/openstack/python-openstackclient/+/869447
Related-Bug: #1999774
2023-01-16 14:18:27 +01:00
Ghanshyam Mann b720fdaee7 Update python testing as per zed cycle teting runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes, move py36 jobs to py38|9,
and update the python classifier for the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: Ibeee0b16ee1ea95f05127563a9cb08ffd0f04e2b
2022-05-11 22:25:31 -05:00
dengzhaosen 517bef2c54 Update python testing classifier
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Iedb1c345df99ae9be5cce22ab930c6de7a5e7832
2021-12-24 09:36:50 +08:00
likui 10227b681f setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I56804844c7438d7a5bffaaa363b9e3d79850c5c2
2021-05-11 17:43:33 +08:00
melissaml ffc9ed8262 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can
generate translation files without them.

Change-Id: If20aa86f21807497c5dfefb0f34f771040517c6f
2020-08-14 08:46:53 +08:00
Sean McGinnis 19bea622ea
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I449ba49cd8c2c8c9890b603c298295c56a5df6de
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:17 -05:00
Andreas Jaeger ac04e5d415 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Remove html_last_updated_fmt from conf.py, this is not needed with
  openstackdocstheme anymore; update openstackdocstheme requirement

Change-Id: I66d7b502349de38bc2b646ed99cf5a41471d81bf
2020-04-04 17:06:45 +02:00
zhanghao bb5b9cac6e Replace 'bgp speaker show dragents' with 'bgp dragent list'
In order to follow other agent related commands in OSC, it is more
appropriate and friendly to replace 'bgp speaker show dragents' with
'bgp dragent list'. this patch uses 'openstack bgp dragent list' to
show the list of dragents, and the optional parameter 'bgp-speaker'
shows the list of dragents hosting a specific bgp speaker.

Change-Id: I9e0703fccf535b1e1a2055ed917336055b7395f5
Closes-Bug: #1858377
2020-02-17 14:49:41 +00:00
Akihiro Motoki 010053df07 Drop python 2.7 support
We no longer support python 2.7 past Train.
Let's stop testings with python 2.7 and drop python 2.7 stuffs.

pypy in tox.ini is also dropped too. It is not used for long.

Change-Id: I8a07c007a129cd2141085a1a3cc7f81658c42db2
2019-12-17 14:46:06 +09:00
Corey Bryant cf95be3ea5 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: If79694b32ece897c93d1889da28daff641e46f1c
Story: #2005924
Task: #34225
2019-07-08 08:14:07 +00:00
Ghanshyam Mann da62ba3029 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I612c7c40e07f23afa920c92bf4b51b278282dd9d
2019-04-15 16:33:41 +00:00
Ryan Tidwell 680b417111
Add subnet onboard CLI
This is the implementation of the "onboard network subnets" CLI.
This enables the subnet onboard feature of neutron to be driven via
CLI.

Depends-On: https://review.openstack.org/348080
Change-Id: Ic637ed689b0d3806d2c33faa419c3a98a310effa
Implements: blueprint subnet-onboard
2019-02-27 08:39:40 -06:00
chenlx aa19ab71ef Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: Ib88759901998ebec8a3e3817d1148fa70323cee5
2018-12-17 19:33:25 +08:00
qingszhao c17db9f295 Add Python 3.6 classifier to setup.cfg
Change-Id: Id7864c23b73b5f2b265ba04d24d01540b326d105
2018-11-30 07:10:12 +00:00
Samuel Barré b60283cd16 Support of the boolean advertise_extra_routes
This Boolean attribute is added to the Router Association resource
(Neutron API, 'bgpvpn' and 'bgpvpn-routes-control' API extensions) in
order to support routes control. This allow to propagate routes of
subnets not directly connected to the router
The corresponding code in networking-bgpvpn has already merged

See https://blueprints.launchpad.net/bgpvpn/+spec/routes-control

Change-Id: Icdd7f6592a9d657b6414645406f06b74b6f3bb11
Implements: blueprint routes-control
2018-11-20 14:59:08 +00:00
Nguyen Hai 1dcd1f83d2 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Depends-On: https://review.openstack.org/#/c/559315/
Depends-On: https://review.openstack.org/#/c/559332/

Change-Id: Icbdc67dab1853162b1a877891195cc26b4873cb0
2018-04-06 14:29:05 +00:00
Édouard Thuleau 0e61b3ba1c Add commands to support BGP VPN route control new API extension
Networking-bgpvpn API extension [0] brings new API calls. That patch
adds command to OSC CLI to support them. It does not implement all the
API extension, still missing new router attribute 'advertise_extra_routes' and
the BGP VPN 'local_pref' attribute.

[0] https://developer.openstack.org/api-ref/network/v2/index.html#port-associations

Change-Id: I45a160b0caec534d517b103db91dc738c006978b
Partially-Implements: blueprint routes-control
Depends-On: I263e1ee6cf4e1a91be91a4a78f4a160f64d33cc6
2018-01-22 10:16:58 +01:00
Cao Xuan Hoang dd044bd92e Add VPNaaS commands for OSC plugin
Closes-Bug: 1669252
Change-Id: I447f5c50725fc0d9d8a1574ad5e28772f472fba9
2018-01-15 09:44:03 +07:00
Yushiro FURUKAWA c569d985c4 Add Logging commands for OSC plugin
This commit supports Logging CLI as OSC plugin[1].
[1] https://bugs.launchpad.net/neutron/+bug/1468366

Depends-On: Ib8668dd25ee7c5000a6dafcc7db3dbc33ad190be
Partially-implements: blueprint security-group-logging
Change-Id: If9a5e0e3958ea32f4c0d3573efcb3ac4101c63a6
2018-01-11 00:26:52 +00:00
Zuul b270022e9c Merge "Add Service Graphs networking-sfc resource" 2017-12-02 23:54:41 +00:00
Daire Ní Chatháin e4b65ef29c Add Service Graphs networking-sfc resource
Co-Authored-By: Igor Duarte Cardoso <igor.duarte.cardoso@intel.com>
Partial-Bug: #1587486
Depends-On: I372da15f99f3cbfb7ffd1d8bf87a79bc56180afe
Change-Id: Ie54da56d2388cb375bccd883c111c5f87e293047
2017-10-30 10:40:59 +00:00
Na 33947da4b9 Dynamic routing CLIs OSC transition
Neutron is transitioning its CLI to OSC, should update dynamic routing
CLIs to align with OSC plugin.

Change-Id: Ic1a633ca103d9e97e28ddf23e0f528e0261ce497
Co-Authored-By: Ryan Tidwell <ryan@6tidwells.com>
Co-Authored-By: Roey Chen <roeyc@vmware.com>
Partially-Implements: blueprint bgp-spinout
Partial-Bug: #1560003
2017-10-26 14:10:42 +09:00
Jenkins 3c211f30af Merge "Update the documentation link for doc migration" 2017-07-24 22:51:10 +00:00
Jenkins c2783e9880 Merge "Add SFC cli for OSC plugin" 2017-07-24 11:09:47 +00:00
Hangdong Zhang 7345d6ae4e Update the documentation link for doc migration
Change-Id: Ia07630b2626781d89b1957a96706e22a9e28674f
2017-07-22 19:31:28 +09:00
Mohankumar e1c98e1b7a Add SFC cli for OSC plugin
Implements: blueprint openstackclient-cli-porting

Change-Id: Ifeb62bad26ffeb0bb8b548c56d2d6a620a922f78
2017-07-13 11:03:50 +00:00
Jenkins daceed85e9 Merge "Use entry points to define neutron CLI commands" 2017-07-07 21:16:19 +00:00
Akihiro Motoki 27cdd7d84d Enable warning-is-error in doc build
Part of doc-migration work

Change-Id: I956975ab28be163ca0b2024456360595e649d740
2017-07-05 09:14:16 +09:00
Akihiro Motoki 6295f85ab2 Use entry points to define neutron CLI commands
It allows us to generate CLI references automatically using cliff.sphinxext
(which will be available in the next release of cliff).
This allows us to avoid maintaining the in-tree CLI refernece manually.

Change-Id: I3950ed8cf50508210c8b3270724e283aea8e1673
2017-07-03 05:26:43 +00:00
Édouard Thuleau f2ace0415d Add BGP VPN OSC commands
Change-Id: Ib1ba356e994a98712e00a11ff045df67fbe4c7ea
Closes-Bug: #1650204
2017-02-09 12:17:19 +01:00
kavithahr 49710e71f7 Python 3.4 support is removed
In setup.cfg and tox.ini the python 3.4 is removed
beacuse python 3.5 is available.

Change-Id: I176d7fce4778aa7a1d4d93924d4c8785233fa7ef
2017-03-08 17:24:48 +05:30
Yushiro FURUKAWA 0a721cf576 Add FWaaS V2 commands for OSC plugin
This commit supports FWaaS v2 CLI as OSC plugin[1].
[1] http://specs.openstack.org/openstack/neutron-specs/specs/newton/fwaas-api-2.0.html

Partial-Implements: blueprint fwaas-api-2.0
Depends-On: I7b4108772e8370e8f51971caf40ecd23e9f977e9
Change-Id: I57504f97ac39b5b7d301fd5cc88228a121f0677e
Closes-Bug: #1609686
2016-12-27 22:02:42 +09:00
Jenkins 0b387e06bb Merge "Add Python 3.5 classifier and venv" 2016-08-05 05:47:51 +00:00
zheng yin 9f78b6320d Add Python 3.5 classifier and venv
There is a passing gate job, we can claim support for Python 3.5
in the classifier. This patch also adds the convenience py35 venv.

Change-Id: I595320fb8b8e97951b8d445a14eb4f5a311a151f
2016-08-03 12:02:42 +08:00
Armando Migliaccio 449a1f7d13 Add trunk commands to openstackclient
This patch introduces the client bindings for the trunk
extension. It uses the openstackclient framework, and
thus requires the openstack client to work.

New commands introduced are as follows:
"openstack network trunk create" to create a trunk.
"openstack network trunk set" to update/add subports to a trunk.
"openstack network trunk unset" to remove subports from trunk.
"openstack network trunk list" to list all trunks.
"openstack network trunk delete" to delete trunks.
"openstack subport list --trunk <name>" to list all subports
belonging to a trunk.

DocImpact: Openstackclient now supports CLIs to configure
           trunk resource via OSC plugin for neutronclient

Change-Id: I6fe1dbd81813fae234801a61c0e3d89f9e7c791e
Co-authored-by: SongmingYan <yan.songming@zte.com.cn>
Co-authored-by: Abhishek Raut <rauta@vmware.com>
Partial-implements: blueprint vlan-aware-vms
2016-07-28 05:16:27 -07:00
Jenkins 06ada316a0 Merge "Base OSC plugin support" 2016-07-09 01:03:29 +00:00
Richard Theis d63a92a55f Base OSC plugin support
Enable neutronclient OSC plugin support.
This patch set does the following:

 - Establishes OSC plugin structure for commands and unit tests
 - Creates the OSC plugin
 - Adds OSC to test-requirements.txt

Co-Authored-By: Akihiro Motoki <motoki@da.jp.nec.com>
Change-Id: I9a20bc7a3d8aa7b631fb0fd534fc5705c23326ce
Related-Bug: #1521291
2016-07-08 21:54:29 +00:00
venkatamahesh 51f07b894f Update the home-page with developer documentation
Change-Id: Ia289848b66caf07ce3684906b29021711d4d286c
2016-05-17 10:16:07 +05:30
Andreas Jaeger 9f792d0b9c Update translation setup
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.

This basically renames
python-neutronclient/locale/python-neutronclient.pot to
neutronclient/locale/neutronclient. For this we need to update
setup.cfg. The domain name is already correct in neutronclient/_i18n.py.

There's no need to keep the pot file. The updated scripts work without them.
So, we can just delete the file and once there are translations,
an updated pot file together with translations can be imported.

Change-Id: I888808f8af291223531df799382ad0c70bf8c567
2016-01-28 14:06:03 +00:00
Jenkins a0134f89af Merge "Setup for translation" 2016-01-16 02:40:17 +00:00
shu-mutou 8d1990a694 Drop py33 support
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.
https://wiki.openstack.org/wiki/Python3

And already the infra team and the oslo team are dropping py33
support from their projects.

Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.

Change-Id: Ic3bfd32822a5e55d6d056af163075d9b3bdaabd4
Closes-Bug: #1526170
2015-12-15 16:28:20 +09:00
Akihiro Motoki aa2dad3d83 Setup for translation
client translation effort starts and several client projects
including novaclient already setup translations.

To start translation, we need to initially import the translation
file - and place it at the proper place so that the usual CI
scripts can handle it. The proper place is for all python
projects $PROJECT/locale/$PROJECT.pot - see setup.cfg.

Further imports will be done by the OpenStack Proposal bot.

Closes-Bug: #1099603
Change-Id: I5b13a9428e6272e83a45b82c06f524be772d3d7a
2015-12-04 13:44:13 +09:00
shu-mutou 7ff7e76d21 Remove py26 support
as of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.

Change-Id: I62db55ee1a9e7564a10a7284bd0e401b2cdbc580
Closes-Bug: 1519510
Depends-On: I4a2f860e8138bddb032418ee555e07a6fa0a3f3e
2015-12-02 18:08:23 +09:00
Cyril Roelandt d6e40b566e Add Python 3 classifiers
Change-Id: Ib22c48ce091916c7c874db91c8c16ebfc7846411
2015-01-07 09:47:21 +01:00
Sascha Peilicke eef61d7dc5 Support building wheels (PEP-427)
Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI version
and publish that to PyPI (by whatever means).

Change-Id: I3dd06b63d2fdcce8961f87fe1d71be052cb0fdf0
2014-02-07 12:17:29 +01:00
Mark McClain 93ac15bfeb Rename quantumclient to neutronclient
Implements Blueprint: remove-use-of-quantum

Change-Id: Idebe92d56d277435ffd23f292984f9b8b8fdb2df
2013-07-03 11:56:44 -04:00
Dirk Mueller 5326cc713a Rename README to README.rst
README.rst seems to be more standard accross OpenStack
modules.

Change-Id: I82cd80e1e816b9c2e9774ad87c1a68bcf7dd8342
2013-06-01 10:08:50 +02:00
Clark Boylan 898acc30f7 Migrate to pbr.
Fixes bug 1179007

Change-Id: I6d7a6b7c85361e1568719ad11035158f4f6d9b35
2013-05-24 13:08:00 -07:00