8 Commits

Author SHA1 Message Date
KATO Tomoyuki
61d43154f1 Add plug-in summary for osc doc
Stevedore Sphinx extension handles this comment.
http://docs.openstack.org/developer/python-openstackclient/plugin-commands.html

Change-Id: Ibab2eb29c1dbd37ee42f2ec9db8e323e2504b5b7
2016-10-14 19:49:20 +09:00
Graham Hayes
3d24d8d3a5 Add global flags to cli
This time, try not to break other peoples plugins

Change-Id: I3ff6f584b0a5c89ac2c6f263549d2a8b74805572
2016-06-28 18:03:07 +01:00
Jenkins
e5f652c630 Merge "Revert "Add Global Flags for filtering results"" 2016-06-24 14:39:07 +00:00
Tang Chen
e5a76f63f4 Use osc-lib instead of openstackclient
osc-lib is a package of common support modules for writing
OSC plugins. All common functions, classes such as exceptions,
utils, logs and so on have been moved from openstackclient to
osc-lib.

So use osc-lib instead of openstackclient.

Change-Id: I4377951ba0b58ea94a43c688b66c0b87dda7225d
2016-06-24 13:36:37 +08:00
Ben Nemec
f2a14a4479 Revert "Add Global Flags for filtering results"
Registering these options as global flags pollutes the global opt
namespace and is masking plugin-specific options in other plugins.

Partial-Bug: 1595616

This reverts commit 0b2b870237b6a332239dcad73cd9cab2634cb44f.

Change-Id: I7ef5c5511adc40d603374c4963ba22556f16252e
2016-06-23 18:54:53 +00:00
Graham Hayes
0b2b870237 Add Global Flags for filtering results
In the HTTP Headers

--all-projects sets "X-Auth-All-Projects:True"
--edit-managed sets "X-Designate-Edit-Managed:True"
--sudo-project-id <id> sets "X-Auth-Sudo-Project-ID:<id>"

Change-Id: I4985a1a2cd75da4311e819afdbfdafcc8a023c56
2016-06-01 16:51:34 +01:00
Endre Karlson
2dad9c38a3 Support OS_INTERFACE and set V2 API as default
This makes the client work with OS_INTERFACE / --os-interface and
makes it use the version 2 as default for dns.

Change-Id: I8d8bdd39f852dbe87846673d9bffc95b17e9a3cd
2015-11-24 18:16:10 +00:00
Endre Karlson
f7d4dbbff5 V2 CLI Support
Change-Id: I583fc864bb4aa8b4dd2d965c2f8c1f3f6d31dd8c
2015-09-02 15:54:08 +02:00