Commit Graph

1068 Commits

Author SHA1 Message Date
Tony Breeds 8dec06049c Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: I74ffe4a77b923f9c0dcbe8a244dab1412e64e3f3
2017-09-12 16:00:02 -06:00
Jenkins ca1b923f98 Merge "Follow up to the API version warning patches" 2017-07-25 14:45:43 +00:00
Dmitry Tantsur 324aaa79e3 Follow up to the API version warning patches
* Update the help string of --ironic-api-version and --os-baremetal-api-version
  to mention the future change.
* Add missing dot to the warning issued by the "ironic" tool.

Partial-Bug: #1671145
Change-Id: Ia03775a318008d0c740ce873ea037309290e33f8
2017-07-24 21:09:27 +00:00
Jenkins 2462e65d5b Merge "Log warning when API version is not specified for the ironic tool" 2017-07-24 16:15:33 +00:00
OpenStack Proposal Bot a9430d3c4e Updated from global requirements
Change-Id: Idbf544d9500f580d32b372bd15dbad66ec348a06
2017-07-23 13:51:50 +00:00
Dmitry Tantsur cdae0fb045 Log warning when API version is not specified for the ironic tool
At the Pike PTG, an issue was brought up regarding the use of an old API
version in the ironic tool [0]. It was suggested that we begin printing
a warning whenever the default API version is used and later default
to using the latest API version when --ironic-api-version is unspecified.

This patch adds this warning.

[0] https://etherpad.openstack.org/p/ironic-pike-ptg-operations L30

Change-Id: I80d553e4d3b007d8312931019037f495425b5ea5
Partial-Bug: #1671145
2017-07-21 10:50:17 +02:00
Jenkins f139cc7373 Merge "Add physical network to port commands" 2017-07-20 11:05:39 +00:00
Jenkins 747c4c15da Merge "Update and optimize documentation links" 2017-07-18 19:34:57 +00:00
Jenkins 035aff25d3 Merge "Update volume release notes to fix reno" 2017-07-18 18:32:47 +00:00
Jenkins 137233b217 Merge "Remove useless variables assignment in unit test" 2017-07-18 13:34:19 +00:00
Julia Kreger 49585497a5 Update volume release notes to fix reno
The portion of the release note file name with
the hexidecimal value used for tracking was not
unique between the files, and was duplicated from
the API additions.

Renaming should fix the release notes.

Additionally added the API microversion for the volume
interface to the release notes.

Change-Id: If8546ac18b2904396d86547d012d0491f3811a21
2017-07-18 12:00:55 +00:00
Mark Goddard 66528c7c8d Add physical network to port commands
This commit adds support to the openstack client for the physical
network attribute of baremetal ports for the following commands:

- create
- list
- set
- show
- unset

It also adds support to the ironic client for the physical network
attribute of baremetal ports for the following commands:

- port-create
- port-list
- port-show
- port-update

For OSC, the latest API version has been bumped to 1.34.

Change-Id: I26948e274b9b0bed170f11de45f0ade48d8b3285
Depends-On: I7023a1d6618608c867c31396fa677d3016ca493e
Partial-Bug: #1666009
2017-07-18 10:32:09 +01:00
Hangdong Zhang ca0219f972 Update and optimize documentation links
1. Update URLs according to document migration
2. Update the dead and outdated links
3. Optimize (e.g. http -> https)

Change-Id: I63c0f87a6a0b1e0c36dfbd52cef65ede376ae222
2017-07-18 16:53:39 +08:00
OpenStack Proposal Bot 2e49d4f887 Updated from global requirements
Change-Id: I9132d2c8ca2f80084d0c35f6739af78c20093065
2017-07-18 01:55:59 +00:00
Jenkins f5fc919100 Merge "Add Ironic CLI commands for volume target" 2017-07-17 15:50:32 +00:00
Jenkins 4f967238ae Merge "Add Ironic CLI commands for volume connector" 2017-07-17 15:38:22 +00:00
Jenkins 5a9f5980d7 Merge "Follow up for OSC volume target commands" 2017-07-17 14:53:12 +00:00
Jenkins f571e70969 Merge "Follow-up release note revision" 2017-07-15 01:04:26 +00:00
Jenkins 613e95e1f9 Merge "Follow up for OSC volume connector commands" 2017-07-14 20:33:45 +00:00
Hironori Shiina 72498603c7 Follow up for OSC volume target commands
This patch fixes these issues of OSC volume target commands as a
follow-up for I55707f86d64cab6c6c702281823d7b0388e11747.
 - fixes a metavar for node UUID from <node> to <uuid>
 - fixes a typo in help message

Change-Id: I1a255adbc6c4acb6210b5481051192c2999cb8b6
Partial-Bug: 1526231
2017-07-14 14:22:35 +09:00
Hironori Shiina 1a5a04102e Add Ironic CLI commands for volume target
This patch adds the following commands for volume target.
 - ironic volume-target-list
 - ironic volume-target-show
 - ironic volume-target-create
 - ironic volume-target-update
 - ironic volume-target-delete

Co-Authored-By: Satoru Moriya <satoru.moriya.br@hitachi.com>
Co-Authored-By: Stephane Miller <stephane@alum.mit.edu>

Change-Id: I156e634fbfb9b782fdcbc51cb8c167a38ffe2bfa
Partial-Bug: 1526231
2017-07-14 13:58:48 +09:00
Jenkins 397ab793f2 Merge "Updated from global requirements" 2017-07-13 19:08:27 +00:00
Jenkins b46674871a Merge "Rearrange existing documentation to fit the new standard layout" 2017-07-13 18:23:27 +00:00
Luong Anh Tuan d88dca0374 Rearrange existing documentation to fit the new standard layout
Change-Id: If0c0789ac730c565477b9053d63375c67667b0d1
2017-07-14 02:12:56 +07:00
Jenkins 3247469bd7 Merge "Log warning when API version is not specified for the OSC plugin" 2017-07-13 18:23:02 +00:00
Jenkins bb7516768c Merge "Replace http with https" 2017-07-13 14:35:38 +00:00
OpenStack Proposal Bot 2cfd77cfc2 Updated from global requirements
Change-Id: Ie4a2bccc626cc980b4e6dfd42e3572941ab50545
2017-07-13 14:23:51 +00:00
Dao Cong Tien 63a06cebeb Follow-up release note revision
This is follow-up of Ia0437529bcb1a3e8dd20bde55eb57e0443290028
to address the comments about emphasizing the commands.

Change-Id: I7746c59e84e67c8a02d9fa877e3fabc5ac29e887
Partial-Bug: #1526231
2017-07-12 18:20:21 +07:00
Hironori Shiina 911b8cc0bb Add Ironic CLI commands for volume connector
This patch adds the following commands for volume connector.
 - ironic volume-connector-list
 - ironic volume-connector-show
 - ironic volume-connector-create
 - ironic volume-connector-update
 - ironic volume-connector-delete

Co-Authored-By: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Co-Authored-By: Satoru Moriya <satoru.moriya.br@hitachi.com>
Co-Authored-By: Stephane Miller <stephane@alum.mit.edu>

Change-Id: I9ebbb4bc82afa001d2cf53c834e8efd320b7ba16
Partial-Bug: 1526231
2017-07-12 11:41:31 +09:00
Jenkins 545b5c3019 Merge "Add support for storage_interface to node and driver CLI" 2017-07-11 22:36:07 +00:00
Jenkins 0e9c36d670 Merge "Add OSC commands for volume target" 2017-07-11 21:54:39 +00:00
Dao Cong Tien 525f60912c Add support for storage_interface to node and driver CLI
Add support for storage_interface to the commands below:

 * ironic node-create
 * ironic node-show
 * ironic node-update
 * ironic driver-list
 * ironic driver-show
 * openstack baremetal node create
 * openstack baremetal node show
 * openstack baremetal node set
 * openstack baremetal node unset
 * openstack baremetal driver list
 * openstack baremetal driver show

Change-Id: Ia0437529bcb1a3e8dd20bde55eb57e0443290028
Partial-Bug: #1526231
Depends-On: I2c74f386291e588a25612f73de08e8367795acff
2017-07-11 17:43:34 +00:00
Jenkins 2a40a84336 Merge "Add OSC commands for volume connector" 2017-07-11 14:41:21 +00:00
Hironori Shiina 15dc9cf958 Add OSC commands for volume target
This patch adds the following commands for volume target.
- openstack baremetal volume target create
- openstack baremetal volume target show
- openstack baremetal volume target list
- openstack baremetal volume target delete
- openstack baremetal volume target set
- openstack baremetal volume target unset

Change-Id: I55707f86d64cab6c6c702281823d7b0388e11747
Partial-Bug: 1526231
2017-07-11 22:48:50 +09:00
Hironori Shiina 554fde6ea2 Follow up for OSC volume connector commands
This patch fix a few issues regarding OSC volume connector commands as
a follow-up for I5bb189631bf79f32cd031e5a5b68a5c8d42a987f.

The fixes are:
  - adds tests of missing parameters in creation
  - adds choices to 'type' option
  - fixes some typos
  - makes class names consistent in unit tests
  - sorts commands in releasenote by the same order of python API's
    releasenote

Change-Id: I5f0beb97f9cdfed09d89216d0d05510010bedfe7
Partial-Bug: 1526231
2017-07-11 20:34:08 +09:00
Jenkins 5cdb655241 Merge "Fixed wrap from taking negative values" 2017-07-10 19:21:40 +00:00
Jenkins a800e0cda7 Merge "Fix unit tests for volume connector and target" 2017-07-10 16:21:15 +00:00
Kyrylo Romanenko 48a2db273f Remove useless variables assignment in unit test
Change-Id: Ic413e57a1aef48ae2c71b0569c6d66ae87dfeec5
2017-07-10 17:24:24 +03:00
M V P Nitesh 38e12731b0 Fixed wrap from taking negative values
Now for wrap input it will take only postive integers as an input and
if any negative numbers are give it will give output as "Wrap argument
should be a non-negative integer".

Change-Id: I39a175e5a30af9128514fef814c6d62d2c283e84
Closes-Bug: #1628797
2017-07-10 13:44:32 +00:00
fpxie 9ae0ba30e3 Replace http with https
Replace http with https in README.rst.

Change-Id: I9cbe59f00927714a6ce0801bee6dca3fb168c57c
2017-07-10 21:28:51 +08:00
Hironori Shiina d6c12241a4 Fix unit tests for volume connector and target
This patch fixes a few issues in unit tests for volume connector and
target as follow-up for these pathces:
  - I485595b081b2c1c9f9bdf55382d06dd275784fad
  - I2347d0893abc2b1ccdea1ad6e794217b168a54c5

This patch incudes:
  - fix overindent in _validate_obj() method in each test
  - fix pagination tests
  - split a test class based on fake response

Change-Id: Icb2f8d10161ba3658deb065332cb9567a1f91e11
Partial-Bug: 1526231
2017-07-09 01:21:34 +09:00
Hironori Shiina 26441c51f3 Add OSC commands for volume connector
This patch adds the following commands for volume connector.
- openstack baremetal volume connector create
- openstack baremetal volume connector show
- openstack baremetal volume connector list
- openstack baremetal volume connector delete
- openstack baremetal volume connector set
- openstack baremetal volume connector unset

It also bumps known API version to 1.32 and hides a link to volume
resources from node information.

Change-Id: I5bb189631bf79f32cd031e5a5b68a5c8d42a987f
Partial-Bug: 1526231
2017-07-08 23:21:32 +09:00
John L. Villalovos bd7ccdde95 Fix over-indent in _validate_obj() functions
Fix over-indent in the  _validate_obj() functions in:
    ironicclient/tests/unit/v1/test_volume_connector.py
    ironicclient/tests/unit/v1/test_volume_target.py

Change-Id: Id939ddd96e51750902a7742b7f186f399d57319f
2017-07-07 12:04:55 -07:00
Jenkins 7fe3ad1f11 Merge "Add volume target support to Python API" 2017-07-07 17:58:52 +00:00
Jenkins 5fe65420c1 Merge "Add volume connector support to Python API" 2017-07-07 17:58:16 +00:00
Hironori Shiina a40b1e0726 Add volume target support to Python API
This adds support for volume_target, which is required to boot instances
from volumes.
This will expose new Python API to operate volume targets:

  - client.volume_target.create
  - client.volume_target.list
  - client.volume_target.get
  - client.volume_target.update
  - client.volume_target.delete
  - client.node.list_volume_targets

Co-Authored-By: Stephane Miller <stephane@alum.mit.edu>
Co-Authored-By: Hironori Shiina <shiina.hironori@jp.fujitsu.com>

Depends-On: I328a698f2109841e1e122e17fea4b345c4179161
Change-Id: I2347d0893abc2b1ccdea1ad6e794217b168a54c5
Partial-Bug: 1526231
2017-07-07 06:08:17 +00:00
Hironori Shiina 8f0c442c2e Add volume connector support to Python API
This adds support for volume_connector, which is required to boot
instances from volumes.
This will expose new Python API to operate volume connectors:
  - client.volume_connector.create
  - client.volume_connector.list
  - client.volume_connector.get
  - client.volume_connector.update
  - client.volume_connector.delete
  - client.node.list_volume_connectors

Co-Authored-By: Satoru Moriya <satoru.moriya.br@hitachi.com>
Co-Authored-By: Stephane Miller <stephane@alum.mit.edu>
Co-Authored-By: Hironori Shiina <shiina.hironori@jp.fujitsu.com>

Depends-On: I328a698f2109841e1e122e17fea4b345c4179161
Change-Id: I485595b081b2c1c9f9bdf55382d06dd275784fad
Partial-Bug: 1526231
2017-07-07 15:06:44 +09:00
Jenkins 57d41a0e66 Merge "switch from oslosphinx to openstackdocstheme" 2017-07-06 18:16:04 +00:00
Jenkins f12f057b0a Merge "reno: feature parity between ironic & OSC" 2017-07-05 15:05:46 +00:00
Luong Anh Tuan e19f2c21bb switch from oslosphinx to openstackdocstheme
Move doc/ and releasenotes/ to openstackdocstheme
and remove the dependency on oslosphinx.

Change-Id: Iac55f25a96959024f91b8bb689f5fba9325dbb52
2017-07-04 15:48:55 +07:00