66 Commits

Author SHA1 Message Date
Jenkins
c2783e9880 Merge "Add SFC cli for OSC plugin" 2017-07-24 11:09:47 +00: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
Clenimar Filemon
9fc1f4656d Update docs to use Identity v3
The docs currently show deprecated forms of client creation. Update them
to use keystoneauth Session and Identity v3.

Change-Id: I3ec285e9b02db870276bae6a9b7e1278e5d306f6
Closes-Bug: #1566448
2016-08-09 16:58:57 +00:00
Abhishek Raut
151608146b Add documentation for OSC plugin commands
This patch adds a new path under neutronclient docs
to document the newly added OSC commands. All new CLI commands
added via the openstack client plugin must now provide a user
guide to these commands under doc/source/usage/osc/v2

Change-Id: Id16d2fb0712fe6dd4a45a765bf7b65410302f5b8
2016-07-30 05:40:17 -07:00
Clenimar Filemon
3832d5342f Trivial: missing comma in the docs
Change-Id: Ib4719a651d78a875c70769f9b8611f1f6c103673
2016-07-01 19:19:55 -03:00
Dariusz Smigiel
343e4b186f Update for API bindings
All occurrences of tenant replaced with project (where applicable).

Partially Implements blueprint: keystone-v3

Change-Id: I4919745aa59863f99c7740e730d8cbfd91c2f646
2016-05-26 08:48:18 -05:00
Richard Theis
2e048fdc94 Devref: Add dynamic routing to OSC transition
Add dynamic routing commands to OSC transition devref.

Change-Id: Ifa8c2ece88e185f932cb812d1393750ce93585e9
Related-Bug: #1521291
2016-05-09 08:15:50 -05:00
Jenkins
2a7cc35e84 Merge "Devref Update: Transition to OpenStack Client" 2016-04-20 03:25:21 +00:00
Richard Theis
3faf02f6ca Devref: Newton updates for transition to OSC
Update the "Transition to OpenStack Client" devref with the plan
for handling network resources in Newton. In particular, this
update clarifies the OpenStack project where the commands will
reside. This update attempts to capture some of the information
in [1] and to address packaging concerns.

[1] https://etherpad.openstack.org/p/osc-neutron-support

Change-Id: I95e579ab23377a6cf36fc7a50356ab406d350053
Related-Bug: #1521291
2016-04-07 10:16:08 -05:00
Richard Theis
6c82731fe7 Devref Update: Transition to OpenStack Client
Update the "Transition to OpenStack Client" devref with the following:
  - Status update per start of Newton release
  - Change developer references to use github for latest information

Change-Id: I17111b833a83395f379ed8e93091cd1956b80dbd
Related-Bug: #1521291
2016-03-29 13:10:47 -05:00
Jenkins
e2444d4f53 Merge "Devref Update: Transition to OpenStack Client" 2016-03-02 17:32:21 +00:00
Richard Theis
585a4ffbfa Devref Update: Transition to OpenStack Client
Update the "Transition to OpenStack Client" devref with information
about the new OSC command specs process. This process can be used
to propose new networking commands while deferring their
implementation. This process may help speed the overall transition
to OSC.

This update also includes information about the OSC neutron support
etherpad which provides detailed status for the transition.

And finally, updates were made to the overall transition plan
based on discussions at the midcycle.

Change-Id: I46bc066d2169a1e20af13baac7131ffa2eedd7c8
Related-Bug: #1521291
2016-02-26 08:28:12 -06:00
Hirofumi Ichihara
65118c09eb Add wrapper classes for return-request-id-to-caller
Added wrapper classes which are inherited from base data types tuple, dict
and str. Each of these wrapper classes contain a 'request_ids' attribute
which is populated with a 'x-openstack-request-id' received in a header
from a response body.

This change is required to return 'request_id' from client to log
request_id mappings of cross projects[1].

[1]: http://specs.openstack.org/openstack/openstack-specs/specs/return-request-id.html

Change-Id: I55fcba61c4efb308f575e95e154aba23e5dd5245
Implements: blueprint return-request-id-to-caller
2016-02-26 16:16:55 +09:00
Hirofumi Ichihara
6581284941 Fix code-block for python code in doc
Change-Id: Ia5cb007b0a0093e478416161763dcaa23b9cfbe4
2016-01-25 19:29:57 +09:00
Jenkins
f8c1f4ec8d Merge "Devref: Transition to OpenStack Client" 2016-01-07 16:08:43 +00:00
Richard Theis
722ce10d3c Devref: Transition to OpenStack Client
Add developer reference for the transitition of the neutron CLI
support to the openstack CLI.

Change-Id: I5f9885eab7b6d1b6f4ee0d9cf84a07a0cb9d8c9a
Related-Bug: #1521291
2016-01-05 10:09:15 -06:00
Jenkins
31d55759e5 Merge "Adding missing headers to the devref documents" 2015-12-21 22:19:53 +00:00
vikram.choudhary
b7e3a214d7 Reworded nargs='?' explanation for better clarity
Change-Id: Iae2c71695ed18504690cc953b4128aeaf3196275
2015-12-15 13:53:36 +05:30
vikram.choudhary
4c96d4a1d5 Adding missing headers to the devref documents
Change-Id: Ie7f8b8d5751ff378e999287c29c1f3e4714ea64a
2015-12-11 13:57:07 +05:30
Jenkins
8899c03be8 Merge "Add CLI option guideline" 2015-12-04 21:23:59 +00:00
Jenkins
508984f694 Merge "Add description of extra args in CLI" 2015-12-04 21:23:56 +00:00
Jenkins
9fdb63d56a Merge "Add os-client-config to CLI usage" 2015-12-04 21:23:54 +00:00
Jenkins
92256a3163 Merge "Add more contents about CLI usage" 2015-12-04 21:23:07 +00:00
Akihiro Motoki
b05d94377c Add CLI option guideline
A lot of changes have been proposed to add options to
*-create/update operations. This guideline tries to clarify
the conventions used in neutornclient.

Change-Id: I2c66c3dcba2569fdac2e54afb49406084cbf7037
2015-12-04 22:50:52 +09:00
Akihiro Motoki
1b97f4bcc3 Add description of extra args in CLI
Change-Id: Ia732d7ba82e3e5a5698a68be8e86eed87916f7da
2015-12-04 20:16:51 +09:00
Akihiro Motoki
a2f2908c16 Add os-client-config to CLI usage
Change-Id: I5d4a3d7206c8f90f479047e8ee810496c06022d9
2015-12-04 20:14:07 +09:00
Akihiro Motoki
f5b4a27fb7 Add more contents about CLI usage
* Filtering in list operation
* Changing displayed columns in list operation
* Debug: display API level communication

Change-Id: Ifba20559c76bf0c1b29f9ef3ac9def3882099956
2015-12-04 20:12:45 +09:00
Akihiro Motoki
800f35d8a5 Do not include reno releasenotes in normal documentation
Per the recent release note guidelines for libraries [1],
reno based release notes will be moved out from the normal docs.
The previous (partial) release notes are also moved to
releasenotes directory. The developer documentation now
has a link to the releasenote web site.

In addition, having reno directive in normal sphinx document
prevents users from generating our docs from release tarballs.

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-November/080694.html

Change-Id: I817f1a7331b8664486544c82e1a9a917864601bf
Closes-Bug: #1520096
2015-12-04 02:43:46 +09:00
Akihiro Motoki
dd8f157aa7 Reorganize documentation structure
This reorganization is to make it easier to add more contents.
It move the usage of CLI and python binding to separate pages.

Change-Id: I39e0d1d18010dfd1c687c573619a09331f12241a
2015-12-01 15:46:54 +09:00
Akihiro Motoki
a14a5f9a27 Use sphinx-build -W in [docs] target
Even though [pbr] warnerrors = true is specified,
somehow sphinx warnings are not treated as errors.
If we use sphinx-build, -W option detects document warnings
and it leads to better documentation quality.

Fix a warning in the existing document too.

Change-Id: Icbb39686c7a24f0040d998fb14e14c63613da190
2015-11-28 06:20:48 +09:00