Commit Graph

94 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
elajkat 33f1c89a84 Tox4: add allowlist_externals where necessary
With tox4 allowlist_externals is more strictly checked, so
fix it where necessary and fix pylint version.

Depends-On: https://review.opendev.org/c/zuul/zuul-jobs/+/866943
Related-Bug: #1999558

Change-Id: Id115a436b95b3ede5a1f3102b4bb9e3ade75c970
2023-01-16 08:34:36 +00:00
Slawek Kaplonski 76dd26f9fd Set when deprecated neutron client CLI will be removed
[1] was the last missing bit in OSC to have feature parity between
OpenStack client and Neutronclient CLI tools.
So now as [1] is merged we can really deprecate and specify that in Z
cycle we will remove neutronclient CLI.
This patch changes deprecation message to reflect that.

[1] https://review.opendev.org/c/openstack/python-openstackclient/+/768210

Change-Id: Ia68af29ea15bda7330fda1b18416798a0f4cb7a4
2021-05-27 12:09:32 +00:00
zhangboye 4963c7ae14 remove unicode from code
Change-Id: I2521c2ba836b6a332883134112b6f99d996cc4e4
2021-01-03 16:58:30 +08:00
Andreas Jaeger 85ef7b7108 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 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.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

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.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Set openstackdocs_auto_name to use 'project' as name.

Depends-On: https://review.opendev.org/728938
Change-Id: I9e1dcc5c8861ac9d800ed7425b3e3193dd13c546
2020-05-18 22:09:17 +02: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
Akihiro Motoki d6c78a5d39 PDF documentation build
Change-Id: I0abc5df1dfde23756bc2fd78631141ba685dc6fe
Story: 2006099
Task: 35139
2019-09-05 12:27:30 +00:00
Zuul d40f4cc96b Merge "doc: Remove prompt from python binding examples" 2019-06-19 22:20:52 +00:00
Akihiro Motoki e2ee92e2e1 Blacklist bandit 1.6.0 due to directory exclusion bug
Bandit 1.6.0 introduces a regression[0] with the -x option,
a fix is expected to be included in 1.6.1 soon.

This commit also aligns Sphinx requirement with the requirements
project [2]. This is required to pass requirements-check.
The lower bound for sphinx was missing and requirements-check
now requires it, so the lower bound sphinx >=1.6.2 was added.

[0] https://github.com/PyCQA/bandit/issues/488
[1] https://github.com/PyCQA/bandit/pull/489
[2] https://review.opendev.org/#/c/657890/

Change-Id: I937cfa722f5234ca4d5506047001d9cb07728cd8
2019-05-28 16:15:14 +09:00
Akihiro Motoki dc10f44128 doc: Remove prompt from python binding examples
The current python binding examples have prompts of python
interactive mode, but these prompts make it difficult to
copy-and-paste the examples. This commit removes them.

Change-Id: Ia5d35fbb585ed0d0d11c8d035196981e9dd46785
2019-05-10 11:00:42 +09:00
jacky06 9a91b4ad38 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I3cc418bd8219a3d4f3ab5c018adf06b66ef36b46
2019-04-28 14:25:39 +08: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
XiaojueGuan 5a6b75655d Update links in README
Change the outdated links to the latest links in README

Change-Id: I70fbe513066b9375344e80308c646e56bf927db0
2018-06-12 16:19:33 +08: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
Monty Taylor f54ba792c9
Rename python-openstacksdk to openstacksdk
Change-Id: If61a78de8b16f62586988f5fdeab2146f67fa3f7
2018-03-23 09:00:46 -05:00
Akihiro Motoki 1791ce6540 Drop neutronclient-specific cliff sphinx extension
Previously neutronclient has its own variant of cliff sphinx
extension to support cliff app autodocument (cliff-app directive).
The feature has been implemented in cliff 2.10.0.
This patch switches to the cliff official version.

The cliff official version also contains several nice fixes
around the sphinx extension.

Change-Id: If542fdf88ef57ec3ce8ecc017127b5dc194e6c9a
2018-01-29 02:08:43 +00:00
Zuul 95d64cef77 Merge "Add commands to support BGP VPN route control new API extension" 2018-01-25 09:37:56 +00:00
gaofei fee6f7b310 Fix broken links
Change-Id: I4b00a24e5adb2ac6b62218d152aef88fac2d6396
2018-01-24 03:27:38 +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
Akihiro Motoki f2a4d5253c doc: autogenerate neutron CLI reference
This replaces the doc-migration work. We can avoid the maintenance
cost by generating CLI reference for neutron CLI like this.

This patch introduces a new sphinx directive to render CLI
global options to achieve the goal. This can be migrated to
cliff sphinxext later.

Change-Id: I7089df3f7fc6475ebdd1e71221492baf12f18226
2017-07-10 11:26:25 +00:00
Akihiro Motoki 423890a495 doc: autogenerate OSC plugin command reference
Recently cliff introduced a sphinx extension directive named autoprogram-cliff
which genarates command-line help automatically. By using it, we no longer
need to write command-line help document separately.

Also fixes minor string substitution issue in a BGPVPN command.

Note that the new cliff release with the directive is not released yet,
but there are several number of OSC plugin commands proposed and
having a local copy would help such developers.

Change-Id: I6b1aee89f406ac449fbc43e210c4ca7ad901b19b
2017-07-10 11:25:33 +00:00
Akihiro Motoki c4ec6759b6 doc: Improve network CLI page
* Move OSC first as neutron CLI is deprecated
* Add more information on OSC usage (links to embeded command list
  and the mapping guide)
* Add deprecation notice for neutron CLI

This commit also makes toctree structure simpler
At now, we have two index page unlinked from the top page.
I thought it is good first, but it potentially makes things tricky.
Let's remove such tweaks for easy maintenance.

Change-Id: I7fd79f465fa6c04bf5b13f6578796d4c2d01edfd
2017-07-10 11:25:29 +00:00
Akihiro Motoki 7790167f6f doc: use new config options of openstackdocstheme
The new simple configuration way was introduced in
openstackdocstheme 1.11.0. This commit introduces the new way.

Also drops unnecessary sphinx configurations like latex,
texinfo and manpages.

Change-Id: I587eb8cbd3e64c65dfc7247a01eca90af6adad4e
2017-07-03 01:52:50 +00:00
Akihiro Motoki 8cbc51cda4 move existing content into the new standard structure
This patch rearranges and reformats existing content.

Change-Id: Ibcad865d2ae45696628f77b5bd5f0e6b1f6842cf
2017-06-23 00:45:07 +09:00
Akihiro Motoki 06ba42ce53 switch to openstackdocstheme
Change-Id: Ic8f9b6821da7958a895dad6053d2cd1b6761a405
2017-06-18 03:11:30 +09:00
Édouard Thuleau f2ace0415d Add BGP VPN OSC commands
Change-Id: Ib1ba356e994a98712e00a11ff045df67fbe4c7ea
Closes-Bug: #1650204
2017-02-09 12:17:19 +01:00
Akihiro Motoki 25e8ff6712 doc: Patch acceptance policy after neutron CLI deprecation
Neutron CLI itself is now deprecated. It means a kind of
feature freeze and we don't accept any changes on
adding/changing/dropping the existing commands.
The only exception is bug fixes on the deprecated neutron CLI.

It is better to document our policy on neutron CLI chnages.

Change-Id: I5f063c7eddbc9a91f587d5d3610092d07150f726
2017-02-24 11:16:13 -05:00
Akihiro Motoki 6af9f89785 doc: Fix warning
tox -e docs fails with sphinx warning.
This fixes a warning "WARNING: Title underline too short"

Change-Id: I7259e5f0df42aa8434443cf742932b0843f019e2
2017-02-24 11:15:05 -05:00
Jenkins 74ae453d6c Merge "Add documentation for FWaaS v2 OSC plugin commands" 2017-01-13 16:21:51 +00:00
Yushiro FURUKAWA 93d1c1f1d1 Replace 'os' to 'openstack' for all command example
Trivial-fix

Change-Id: I670dd1240328859d5f10bb4d4ef878f1c8a0ed69
2017-01-07 15:28:39 +09:00
Yushiro FURUKAWA 6fb4a728ca Add documentation for FWaaS v2 OSC plugin commands
This commit adds a Firewall-as-a-Service v2[1] CLI usage.
[1]http://specs.openstack.org/openstack/neutron-specs/specs/newton/fwaas-api-2.0.html

Change-Id: Ib271acad29229d78beebc2f1c2bd285c630768df
Partial-Implements: blueprint fwaas-api-2.0
Related-Bug: #1609686
2017-01-06 20:43:18 +09:00
Armando Migliaccio a686743940 Clarify how to do client-side development for repos in neutron governance
Change-Id: I90085b47b2e960fbd75e936fb3ee5c0553b0a8e2
2016-12-06 01:39:14 +00:00
Richard Theis 1206e512bb Devref: Transition to OSC update
Devref update for the transition to OSC.

Change-Id: Iff65be64d7225565ba33aebc8f9949c6d4ea509e
Partial-Bug: 1521291
2016-11-07 09:08:25 -06:00
Jenkins fdc9f02de0 Merge "Make trunk commands handle description for trunk resources" 2016-09-01 00:41:38 +00:00
Richard Theis 4baa4a06ec Devref: Newton mid-cycle updates for transition to OSC
Update the "Transition to OpenStack Client" devref based on Newton
mid-cycle [1].

[1] https://etherpad.openstack.org/p/newton-neutron-midcycle-workitems

Change-Id: Ie1b4eec30cbee5d41971450b676f7c898a667f0b
Related-Bug: #1521291
2016-08-30 21:44:02 +09:00
Armando Migliaccio 89d4a9a2ea Make trunk commands handle description for trunk resources
Depends-on: Ie3149e206fe8a83631dd9d42d344fea3f03dc0db
Partially-implements: blueprint vlan-aware-vms

Change-Id: Ie721beb78a4a3b6da9e0f68167b91be043b7034e
2016-08-29 22:19:16 -07:00
Jenkins 96f4e0e763 Merge "Update docs to use Identity v3" 2016-08-18 12:43:24 +00:00
Jenkins b969c057b9 Merge "Update OSC transition status" 2016-08-11 20:19:19 +00:00
Richard Theis 95345b802a Update OSC transition status
Update the OSC transition devref with the latest status.

Change-Id: I6f9956975e70cc38544eb97191fa626772605ff1
2016-08-10 13:43:11 -05:00