Commit Graph

39876 Commits

Author SHA1 Message Date
Kevin_Zheng b9a89c97a8 Fix api ref for os-hosts, os-quota-sets and os-fping
This patch fix API ref for correct sample files and status code
for below APIs
- os-hosts
- os-quota-sets
- os-fping

Part of bp:api-ref-in-rst

Change-Id: I7ecfe5adf4d8f1e9c767bac9194d9160f09fbee9
2016-04-19 21:18:12 +08:00
Jenkins 3f0865b22a Merge "Fix "Creates an agent build" parameters" 2016-04-19 06:33:35 +00:00
Jenkins 2848ef3bff Merge "Fix os-service related reference missing" 2016-04-19 02:37:00 +00:00
Jenkins de3aab23dc Merge "fix samples references for 2 files" 2016-04-19 02:35:12 +00:00
Jenkins 807bc5660f Merge "Fix generation of Guru Meditation Report" 2016-04-18 20:32:20 +00:00
Jenkins 79fd7d99b8 Merge "Update servers.inc to be as accurate as api-site" 2016-04-18 19:05:37 +00:00
Jenkins 2b36ad0f42 Merge "Remove nova-manage service subcommand" 2016-04-18 16:10:04 +00:00
Jenkins 1c4bd07b73 Merge "libvirt: serial console ports count upper limit needs to be checked" 2016-04-18 15:37:50 +00:00
Sean Dague afe8c1b3e8 fix samples references for 2 files
This fixes the samples references for ``servers-actions.inc`` and
``servers-multiple-create.inc`` and drops the warnings count to 195.

Change-Id: Id9a2ae98f5ded9ab57bfd3af5fb18357df6bc1d2
2016-04-18 07:15:10 -04:00
Sean Dague 46a1fd17cc Update servers.inc to be as accurate as api-site
This updates servers.inc which had a rough path during conversion. The
GET servers/details was lost entirely.

It updates a number of parameters to distinguish ones that are only in
the queries, as well as fixes references to short names that collided.

It updates the UPDATE call to only specify request parameters which
you can actually update.

It introduces the notation object.field for parameters that are
embedded in other objects. This is a new concept, but one way we can
clear up that the uuid in the parameter list is really networks.uuid.

It also deletes the old hand rolled servers.rst, which drops the
warnings count by nearly 100.

Part of bp:api-ref-in-rst

Change-Id: Ie7693a5888efa913118244a0837e6c0177965d48
2016-04-18 06:40:23 -04:00
Ken'ichi Ohmichi 93e3784a6e Fix "Creates an agent build" parameters
"Creates an agent build" API supports multiple parameters on a request,
but api-ref doesn.t contain them at all This patch adds them.

The following JSON-Schema is for the API.
https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/schemas/agents.py#L21

Part of bp:api-ref-in-rst

Change-Id: I4b026f691711b11c1918785dff89bf5196c7177d
2016-04-15 14:33:53 -07:00
Jenkins 655922ca66 Merge "Add checks for driver attach_interfaces capability" 2016-04-15 21:26:12 +00:00
Jenkins e95e4cf023 Merge "clean up versions.inc reference document" 2016-04-15 20:03:03 +00:00
Jenkins c41230be03 Merge "Collection of CSS fixes" 2016-04-15 18:52:56 +00:00
Sean Dague 138a3eae7d clean up versions.inc reference document
This fixes a number of issues in the versions.inc reference
document.

Documents all the useful parameters in the response (we really need to
do something about the ones that are not).

Fix links to samples content, and write some text explaining them.

Parametrize the {api_version} GET call, it was weird to list all the
hard coded values there.

Add a couple of inline todos for longer additional references we
should do.

Part of bp:api-ref-in-rst

Change-Id: I56e5e922fca39453d0d9fc062a84daba7cad8cc1
2016-04-15 11:44:00 -07:00
Jenkins 0b9f7538d3 Merge "Add instance/instance_uuid to build_requests table" 2016-04-15 17:44:44 +00:00
Jenkins 8ec98ab1b8 Merge "Fixes unexpectedly passing functional test." 2016-04-15 17:39:58 +00:00
Jenkins d39d37d913 Merge "Remove mox from tests/unit/network/security_group/test_neutron_driver.py" 2016-04-15 17:28:47 +00:00
Sean Dague 40630d731b Collection of CSS fixes
This ensures all parameter tables are 100% wide, even if they have
only a few items with short descriptions. It makes all the tables the
same width.

This moves the link icon into the gutter for the main content, and
makes it hidden by default (only visible on hover) like in the API
site today.

This makes the link + method name div be ``white-space: nowrap`` to
ensure that when the screen gets narrower the Delete button doesn't
fold up on itself.

Part of bp:api-ref-in-rst

Change-Id: I3892e6c8e3c01956d63a33603ba1bf9146d21161
2016-04-15 12:18:44 -04:00
Jenkins 959a5bbcdd Merge "move sphinx h3 to '-' instead of '^'" 2016-04-15 16:01:23 +00:00
Jenkins a8562c88d3 Merge "fix blockquote font size" 2016-04-15 15:59:52 +00:00
Jenkins 2bda625935 Merge "network: make nova to handle port_security_enabled=False" 2016-04-15 15:58:44 +00:00
Michal Pryc 72a0a7c174 Fixes unexpectedly passing functional test.
This fix allows all functional tests passing rather
then one unexpectedly passing:

test_bug_1541691.TestServerValidation.test_name_validation

The bug 1541691 was merged, however test never got updated.

Change-Id: I84597ad5f5ca9ef457f34769e3fe299b780acadd
Closes-Bug: 1570884
Related-Bug: 1541691
2016-04-15 17:21:19 +02:00
Sean Dague 9526462326 move sphinx h3 to '-' instead of '^'
In the sphinx document h3 is supposed to be '-' not '^':

=, for sections
-, for subsections
^, for subsubsections

We have to enforce consistency here because we're processing included
files which all have to agree, otherwise it's a sphinx error.

Part of bp:api-ref-in-rst

Change-Id: Ic6eef5cacb07870f161b04b031e332f2b87aeedc
2016-04-15 07:43:06 -04:00
Sean Dague ccee8b3c13 fix blockquote font size
The blockquote font size is 17.5px in bootstrap where normal text is
14px. This is because blockquote is thought of for doing pull
quotes. However sphinx uses block quote for indented text, and it
should thus be the same as the body text.

Part of bp:api-ref-in-rst

Change-Id: I4135686416d84f5ca113a031534c3486a4c2b1c5
2016-04-15 07:43:06 -04:00
Sean Dague e51b8f43e1 Add 'Show All' / 'Hide All' toggle
This adds a global control that does show / hide of all collapseable
sections. Which is extremely useful in seeing the entire API at once.

Part of bp:api-ref-in-rst

Change-Id: I814e6b2c20c25bf3d4cb4e722bc8157ca0aa1b89
2016-04-15 07:43:06 -04:00
Sean Dague 19712dccce use 'required' instead of 'optional' for parameters
In swagger the attribute for required/optional is 'required', so we've
decided that's a better way to specify our parameters. This changes
the sphinx parser to use that when inserting (optional) into the
table.

We also make all 'path' parameters required, because we never specify
them in a table where they are not. I think them all being required:
false was an artifact of the data processing.

Part of bp:api-ref-in-rst

Change-Id: Ie2d012741d69430546fe1b10c9f16c853acb926a
2016-04-15 07:43:06 -04:00
Sean Dague 5bc00aac40 Fix css references to the glyphicons font
The bootstrap css uses the glyphicons font, but sphinx can't put it
exactly in the same place that bootstrap wants it. So fix the
minimized css to make it available and include those fonts in our
tree.

Part of bp:api-ref-in-rst

Change-Id: Ib45b90966ce12194fcb571c2782b1baed7af2471
2016-04-15 07:43:06 -04:00
Jenkins e726fd98f8 Merge "Fix formatting of rst in parameters.yaml" 2016-04-15 11:26:00 +00:00
Jenkins dd36b6474e Merge "Remove stub_compute config options" 2016-04-15 02:00:58 +00:00
Karen Bradshaw aa9a270159 Fix formatting of rst in parameters.yaml
Change-Id: Ia30d1922a756f4bfefd997ab34c799e1919f2540
2016-04-14 14:35:08 -04:00
Andrew Laski d789f6eef9 Add instance/instance_uuid to build_requests table
New fields keep needing to be added to build_requests in order to
capture all of the relevant instance information necessary. At this
point it's simpler to just embed a serialized Instance object in the db.
A column for that is added, as well as an instance_uuid column for
indexed lookups.

Change-Id: I1628ddd8cb75b4d0a7bbcd2720536c2e0bfc6043
Partially-implements: bp add-buildrequest-obj
2016-04-14 14:21:40 -04:00
Jenkins 7243f122d6 Merge "Add new NeutronFloatingIP object" 2016-04-14 16:31:43 +00:00
Jenkins 874bbf0675 Merge "Updated from global requirements" 2016-04-14 16:30:13 +00:00
Jenkins 909f3cf423 Merge "Fix typo in nova release notes" 2016-04-14 15:43:34 +00:00
Sahid Orentino Ferdjaoui ee7a019826 network: make nova to handle port_security_enabled=False
In somes cases we need to have network without any security rules
applied, unfortunatly nova does not provide way to remove l3
assignements and always at least expose the default security group.
This commit updates code to clear security groups applied to the
network when option port_security_enabled=False is activated on the
network.

Change-Id: I630008a9733624a9d9b59b7aa3b8b2a3f8985d61
Closes-Bug: #1460630
Related-Bug: #1175464
2016-04-14 11:42:39 -04:00
Jenkins 6ae2b4534a Merge "cleanup some issues in parameters.yaml" 2016-04-14 14:17:52 +00:00
Jenkins 177a2c41e9 Merge "Import RST files for documentation" 2016-04-14 14:16:37 +00:00
Jenkins 29da7fc587 Merge "add combined parameters.yaml file" 2016-04-14 14:01:32 +00:00
Jenkins cdc899fdd5 Merge "claims: Do not assume image-meta is a dict" 2016-04-14 13:28:53 +00:00
Hieu LE 4355198750 Fix typo in nova release notes
Trivial fix

Change-Id: I621d08f2ab214112e861047de2118df0e51289b6
2016-04-14 14:26:54 +07:00
OpenStack Proposal Bot 7823730348 Updated from global requirements
Change-Id: Ibab571ba7147a338560b99cdcfb93a0056de39e2
2016-04-14 02:36:44 +00:00
Jenkins b335318a62 Merge "increase error handling for dirty files" 2016-04-13 23:37:15 +00:00
Jenkins 5756a735d9 Merge "Minor updates to the how_to_get_involved docs" 2016-04-13 19:59:09 +00:00
Jenkins 9a4f096840 Merge "libvirt: delete the last file link in _supports_direct_io()" 2016-04-13 19:57:59 +00:00
Jenkins 17722cd58e Merge "Fixed incorrect behavior of xenapi driver" 2016-04-13 18:43:37 +00:00
Jenkins 6464c0a4c7 Merge "Put more into compute.api._populate_instance_for_create" 2016-04-13 18:27:09 +00:00
Roman Podoliaka acbf057d25 Fix generation of Guru Meditation Report
Generation of a guru medidation report fails with TypeError when
trying to serialize config group options. This is due to the fact,
that I018c3a408a8903be8d006760994de6947fb91168 registers `barbican`
options group incorrectly: an OptGroup instance is passed where a
string name is expected (keystoneauth1 wraps the passed value
into OptGroup unconditionally).

A follow up change to oslo.config will make sure we fail early in
case an incorrect value has been been passed to register_group().

Change-Id: I4c57127c7bc0098000ad18ba7bab12fbc66d8ac0
Closes-Bug: #1568208
2016-04-13 17:00:32 +03:00
Sean Dague 9e305c2508 cleanup some issues in parameters.yaml
Change-Id: I47334dab81790573f5f656682e3113bed44d2cc4
2016-04-13 07:55:53 -04:00
Sean Dague d4e2771440 Import RST files for documentation
This is the results of the RST conversion from WADL. It creates a
single index plus a bunch of included files which represent sections
of the API document. This is the starting point for fixing the
documentation.

Change-Id: I7d561c2ecdcd864172dedb54a551f17ad3bdfe26
2016-04-13 07:34:45 -04:00