52 Commits

Author SHA1 Message Date
Adit Sarfaty
353be39d92 [Admin-Utils] NSX-V3 upgrade vm ports after migration
After using api_replay to migrate the neutron data from NSX-V to NSX-T
we need to update the VM ports to use OpaqueNetwork instead of
DistributedVirtualPortgroup

Usage: nsxadmin -r ports -o nsx-migrate-v-v3

Output example:
Detaching old interface from VM ad02211d-25a1-4e0b-ab6e-ffee48c77077
Updated VM moref vm-59 spec - detached an interface
Attaching new interface to VM ad02211d-25a1-4e0b-ab6e-ffee48c77077
Updated VM moref vm-59 spec - attached an interface

Change-Id: Ie6b4c929257be9bed9701c9c2073a0e65cab9839
2016-08-29 15:31:46 +03:00
Shih-Hao Li
c8b984ed5b NSX|V3: Update upgrade scripts for native DHCP/Metadata
1. Upgrade ports with IPv4 address only
2. Delete previous internal metadata networks
3. Add list function for metadata proxy
4. Add more checking and logs
5. Pass required UUID from command-line
6. Refactor codes

DocImpact

Change-Id: I4e0f05b2dff9394cc6d0d567abf58507efaf6685
2016-08-25 09:26:06 +00:00
Jenkins
2b7210313c Merge "[Admin-Util] recreate NSX|v router edge" 2016-07-19 20:15:24 +00:00
Jenkins
3615661c38 Merge "NSXv - metadata status in admin utility" 2016-07-19 20:05:28 +00:00
Jenkins
75ecbcdd0b Merge "[Admin-Util NSX|V] availability zones support" 2016-07-19 19:51:59 +00:00
Adit Sarfaty
b10798cfa7 [Admin-Util NSX|V] availability zones support
The utility: nsxadmin -r edges -o nsx-update --property appliances=True
will now update the requested edge deployment according to its' current availability zone.
It can be used when the availability zone definition or global definition of resource pool,
data stores or edge_ha changes.

Change-Id: I8d28fec3c95c272e581d63a8fd0f2618ffb26cb8
2016-07-19 13:40:26 +03:00
Kobi Samoray
06174f2efd NSXv - metadata status in admin utility
Add a feature to diagnose metadata network failures to nsxadmin.

Change-Id: Id9c76bc79fd058017fb25bc6e3cbde4dadfdd8e4
2016-07-19 13:22:49 +03:00
Adit Sarfaty
cca49245c1 [Admin-Util NSX|V] add more information to backend edges list
'nsxadmin -r edges -o list' and 'nsxadmin -r edges -o list'
will now print also the edge name, size and type.

output example:

+----------+-------------------------------------------+-----------------+---------+
| id       | name                                      | type            | size    |
+----------+-------------------------------------------+-----------------+---------+
| edge-315 | rtr1-f7bf9945-af0f-4b56-934d-d2acd4910f9c | gatewayServices | compact |
| edge-316 | dhcp-894a2f0d-4220-4                      | gatewayServices | compact |
| edge-317 | backup-91f975ff-dd46                      | gatewayServices | compact |
| edge-318 | backup-8c037e6c-84b0                      | gatewayServices | compact |
+----------+-------------------------------------------+-----------------+---------+

Change-Id: Iab63ecff4b5b3be5ac79a755e534dafbab309666
2016-07-19 08:29:50 +03:00
Adit Sarfaty
aba3ade22f [Admin-Util] recreate NSX|v router edge
Delete a backend router edge, and move its' router/s to other edges.
Currently this utility does not support distributed routers

usage:
nsxadmin -r routers -o nsx-recreate --property edge-id=edge-307

Change-Id: Ib1ab84120aaae42dba884d4ba964a3bdd82df2fb
2016-07-19 08:24:01 +03:00
Jenkins
10297ef88b Merge "[Admin-utils] NSXv recreate DHCP edge" 2016-07-18 14:44:51 +00:00
Adit Sarfaty
ad425b90b1 [Admin-Util] list/delete orphaned backend edges in NSX-v
Usage for listing the orphaned networks: nsxadmin -r orphaned-networks -o list

Output example:
==== [LIST] Orphaned Networks ====
orphaned-networks
+-----------------------------+-----------------+------------------------------------------------------+
| type                        | moref           | name                                                 |
+-----------------------------+-----------------+------------------------------------------------------+
| DistributedVirtualPortgroup | dvportgroup-340 | dvs-22-net-vlan-0d0ad825-4907-4e8f-9bd8-690007dadf3b |
| VirtualWire                 | virtualwire-33  | a7fd0856-923e-43a6-97c7-9980e7fabd08                 |
+-----------------------------+-----------------+------------------------------------------------------+

Usage for deleting a backend network:
nsxadmin -r orphaned-networks -o nsx-clean --property moref=<moref>

Output example:
==== [DELETE] Backend Network ====
Backend network dvportgroup-340 was deleted

Change-Id: I3141c490dc47b06fd5315b2f4bfb7144360e11ac
2016-07-12 15:15:06 +03:00
Jenkins
9556ec2635 Merge "Remove white space between print and ()" 2016-07-12 12:06:50 +00:00
Adit Sarfaty
751cef07b5 [Admin-Util] list missing backend networks for NSXv
Usage example:
nsxadmin -r missing-networks -o list

Output example:
missing-networks
+--------------------------------------+-----------------+--------+
| neutron_id                           | moref           | dvs_id |
+--------------------------------------+-----------------+--------+
| 0d0ad825-4907-4e8f-9bd8-690007dadf3b | dvportgroup-340 | dvs-22 |
| 6987342e-9d42-4a86-bd4e-034815aa989e | virtualwire-39  | None   |
+--------------------------------------+-----------------+--------+

Change-Id: I6f060271b5611b1852435ab2f5839a15897c7f76
2016-07-12 13:44:21 +03:00
Adit Sarfaty
37660fce9c [Admin-utils] NSXv recreate DHCP edge
This utility can be used to move all the networks from a specific
DHCP edge, to another (new or existing) edge.
This should work also for VDR router DHCP edge.

Usage:
nsxadmin -r dhcp-binding -o nsx-recreate --property edge-id=<edge-Id>

Output example:
==== [NSX] Recreate Dhcp Edge ====
ReCreating NSXv Edge: edge-222
Deleting the old DHCP edge: edge-222
Moving network a7fd0856-923e-43a6-97c7-9980e7fabd08 to a new edge
Moving subnet ae9efc04-a685-497e-aab1-1dff9abacf9c to a new edge
Creating network a7fd0856-923e-43a6-97c7-9980e7fabd08 DHCP address group
Network a7fd0856-923e-43a6-97c7-9980e7fabd08 was moved to edge edge-228
Moving network 7a484242-0261-4888-ba77-41bb7bbd4f9d to a new edge
Moving subnet 412e89ce-7c69-494d-b525-c08c8828cdfd to a new edge
Moving subnet 139f7375-afb9-41dd-bdb7-c25af772a805 to a new edge
Creating network 7a484242-0261-4888-ba77-41bb7bbd4f9d DHCP address group
Network 7a484242-0261-4888-ba77-41bb7bbd4f9d was moved to edge edge-228

Change-Id: I97ba4abfe50d634f5ba5b137a64e021575db1ead
2016-07-12 08:22:09 +03:00
yuyafei
e07bf5cfda Remove white space between print and ()
And in / doc/source/conf.py:
print line, ---> print(line)

Change-Id: I57d34ed1256f1573717292df64fdddd023d2bad2
2016-07-11 09:36:49 +00:00
Adit Sarfaty
6a0228be11 Update Admin-Util RST file with missing/incomplete apis
Change-Id: I54550a749aaaba1913535ce7dcda4e367e7bc908
2016-07-10 08:55:11 +00:00
Kobi Samoray
80f6730bc1 Admin utility RST file
Adds an RST file describing the functionality if the nsxadmin utility.

Change-Id: Ie1bae3f7882cd1ca4e10e5660e16c86675ea3c9e
2016-07-06 18:07:12 +03:00
Gary Kotton
3a96a43c53 VMware: fix gitreview
Fix the correct repo

Change-Id: I1deed42fb003f06bc97634e3908c6d82c8620e85
2014-12-21 23:24:18 -08:00
Gary Kotton
68b46468b0 Create vmware-nsx with history
A channuka miracle!
2014-12-18 07:36:43 -08:00
Russell Bryant
1ea1c28253 Update rpc_api docs with example version update
Update the rpc api devref docs to include an example of what a change
that includes a minor version increment looks like.  I hope this will
help clarify for people what all is included in an API change that
requires a version bump.

Part of blueprint rpc-docs-and-namespaces.

Change-Id: I9c53d3518b200412701b19958d7cbf1ed03d643e
2014-12-09 17:29:16 +00:00
Jeremy Stanley
49a09e8e4f Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I77aa4152a903a0f1f47de20bb1a006d29f5a1bf2
2014-12-05 03:30:37 +00:00
Russell Bryant
4101498f02 Add some basic rpc api docs
The devref docs had a placeholder file for rpc API docs.  Now that
both a client side and server side interface have been converted from
the rpc compat layer to oslo.messaging APIs, add some docs that give
an overview of what the client and server sides look like.

Also include a section that describes the code layout of where you can
find client and server api implementations in the neutron code base.
It starts by discussing the DHCP agent related APIs.

Part of blueprint drop-rpc-compat.

Change-Id: Ib391958252077365a81bcb881ab27a078f71fdec
2014-11-19 17:18:34 +00:00
Ann Kamyshnikova
656d0b8472 Implement ModelsMigrationsSync test from oslo.db
Add tests to verify that database migrations produce
the same schema as the database models.

Also for MySQL, check that all tables are configured to use InnoDB
as the storage engine.
These tests make use of the ModelsMigrationsSync test class from
oslo.db and the load_tests protocol from Python unittest.

Closes-bug: #1346444

Change-Id: Ic0e7eb37c30cc5e94cbdbddf07a6dc1ebf377c17
2014-09-30 11:55:06 +04:00
Andreas Jaeger
8879409a61 Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910
2014-09-13 09:29:37 +02:00
Sean M. Collins
4dd040a598 Add a link to a blog post by RedHat that discusses GRE tunnels in OVS
Change-Id: I6f3f458eadac12bcb907a2ee6b5d795b8e9593e2
2014-07-07 23:48:19 -07:00
Jenkins
c88fa6ff70 Merge "Start using oslosphinx theme for docs" 2014-04-15 11:16:29 +00:00
Sergey Lukjanov
613d5a2462 Start using oslosphinx theme for docs
Change-Id: Ica731ff679c618a0ec82b8de816654e758ee5244
2014-03-26 15:51:48 +04:00
Sean M. Collins
45b22d21cb Advanced Services documentation
Adds the beginnings of documentation for the Firewall as a Service,
Loadbalancer as a Service, and VPN as a Service.

Part of blueprint developer-documentation

Change-Id: I5e46df2dc4f87f961490ee75791a7e825ea94e1e
2014-03-18 11:44:02 -04:00
Sean M. Collins
27c79e67db API layer documentation
* Discuss the WSGI layer of Neutron
* Describe the startup code that creates the WSGI application
* Briefly discuss the URL routing and resource creation

Change-Id: Id82a2a5679d7e29c0a19d1a20942a9249946b011
2014-03-13 00:43:07 -04:00
Jenkins
33e0abbc4a Merge "Developer documentation" 2014-03-08 10:40:41 +00:00
Sean M. Collins
9a749d3a67 Developer documentation
* Turns TESTING into a rst file, that we include in the developer
  documentation, for instructions on how to run the unit tests.
* Link to a Vagrant project that sets up Neutron inside a VM.
* Adds a section for how to debug with Nose
* Add new section for Neutron Internals
* Neutron L2 Agent documentation - currently only OVS
* Make the Security Group API extension an example of how an API
  extension is implemented

Implements bp developer-documentation

Change-Id: I9b452abc9da3b1a41ae65cff727967de0eab12fe
2014-02-26 11:03:46 -05:00
Ailing Zhang
44d79da84e change Openstack to OpenStack in neutron
Change-Id: I769e00efb8d61679a544ed5ded1c93dd3bc252db
2014-02-24 10:34:25 -08:00
Joe Harrison
893bc1f047 Fixes broken documentation hyperlinks
Several hyperlinks were incorrectly specified in one page of the docs.
These syntax typos have been fixed.

Change-Id: I1a4fe91ac05f51b71e01c001b76712752664ae74
Closes-Bug: #1268611
2014-02-21 12:45:03 -05:00
Jay Pipes
3a9306054b Start of new developer documentation
There is currently no useful developer-focused documentation in-tree
for Neutron. There are a smattering of useful documents on the
OpenStack wiki, however, there isn't a good organization to this
information, nor is there a condensed developer focus to a lot of it.
Some of the wiki pages are more proposals for features or bug fixes,
and there is a need for architecture, design, and code walk-through
documentation for Neutron to help with new (and existing) contribution.

This patch begins the process of adding developer documentation to Neutron.
It updates the main developer reference index.rst to pull in-line with what
Nova is doing, leaving some todo references for future patches. It also
adds a development.environment tutorial that is up-to-date with current
Neutron development, using tox/testr processes for running unit tests and
including a number of references to external wiki pages that have
instructions for using DevStack for OpenStack contribution/testing.

The next series of patches will add automodule documentation to the
developer reference for some of the major modules in Neutron.

Change-Id: I23aaa11d9a174f24242c49767b92540f5e25b48a
Addresses: blueprint quantum-developer-docs
2013-12-26 17:24:38 -05:00
Nachi Ueno
011b13bf51 Fix misspells
Change-Id: I8be38727ca55ebbead9032cf69f10a1006fd004b
Closes-bug:1257424
2013-12-03 15:03:47 -08:00
Tom Fifield
bc04012a55 Update references with new Mailing List location
Yesterday, openstack@lists.launchpad.org was migrated with
all users to openstack@list.openstack.org.

This patch updates references to the old mailing list with the
new, to ensure that people encountering them don't accidentally
try and join the old list!

Change-Id: Id52268cc077bcc89e345a1cd28203ce2fce75db7
2013-07-28 11:35:32 -07:00
Mark McClain
380b0e7db6 Rename Quantum to Neutron
This change renames everything to Neutron while providing backwards
compatible adjustments for Grizzly configuration files.

implements blueprint: remove-use-of-quantum

Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19
2013-07-06 15:02:43 -04:00
Lorin Hochstein
1832721e11 Sphinx-ify QuantumPluginBaseV2 docstrings
The quantum.quantum_plugin_base_v2 module had some good docstrings,
but there was no corresponding sphinx code that would generate
docs from them. There were also some syntax issues with the
sphinx markup in the docstrings.

This change adds sphinx directives so these docs will be auto-
generated. It also modifies the docstrings in the QuantumPluginBaseV2
methods so they are parsed by the Sphinx documentation generator
without any errors.

If this patch is accepted, a "Plugin API" link to these docs
will appear at

http://docs.openstack.org/developer/quantum/

Fixes bug 1186255

Change-Id: I96eddcc516d109766d7f4c52edd595748696b595
2013-05-31 09:47:49 -04:00
Gary Kotton
8a7f051108 Replace "OpenStack LLC" with "OpenStack Foundation"
fixes bug 1154702

Change-Id: I78b1d2c9975a1a4f32b0785cce45f1e471783d8c
2013-03-13 15:06:24 -04:00
Alessio Ababilov
868295095b Synchronize code from oslo
Use commit eaab5fae2502198e9fa57d0d90a7204a2bd83b16:
Merge "sort options to make --help output prettier"
(Wed Feb 13 12:52:14 2013 +0000)

Add processutils to quantum since impl_zmq depends on them.

Drop notifier.list_notifier that is not present in oslo.

Change-Id: I91d9ec05481b8c24da9fbee1ad4706ff56a3b7aa
Fixes: bug #1116290
2013-02-13 17:43:40 +02:00
Monty Taylor
4e43dd0c84 Updated openstack-common setup and version code.
Updating setup and version require code changes in the code base. This is done
here to support Id9c116a1e10e5c240913fae7a127110b806eff0f

Change-Id: I60b6dd6d684982e33de8fbf051a3dcaf98cb9b87
2012-11-08 09:21:34 +08:00
Ray Chen
31274e9ec5 PEP8 issues fixed
Fix some pep8 problems in doc/source/conf.py and make the code
more pretty.

Change-Id: Iff1333441b67addb38533ba061aa89f59533fdb2
2012-08-24 19:21:55 +08:00
Jason Kölker
ca7c439e4c Automatically determine Quantum version from source
* Fixes LP1007132
* Adds keystone link
* removes __init__.py since doc/source is not a python module

Change-Id: I6a3234fa760ca23889e352735669547ad9afedf8
2012-05-31 16:04:16 -05:00
Gary Kotton
07bbf797fc Parse linuxbridge plugins using openstack.common.cfg
Implements the blueprint use-common-cfg

In order for the linuxbridge plugin to use the rpc code soon to be merged into
openstack-common, we need to parse our configuration using cfg. Here we
make the most simple, backwards compatible change in that direction.

The same is relevant for the openvswitch implementation

Fixes after comments.

Change-Id: I70fc1898a802cb4198f72741453283d114added2
2012-05-29 09:54:29 -04:00
Gary Kotton
62082d762e blueprint man-support and fix documentation build
bug 995283

Changes after initial comments

Removed spaces

Updates after comments

Remove white spaces

Fix text and remove empty files

Remove config.py

Updated to be similar to the keystone page

Updated afetr comments

Change-Id: If9240114ae31d7120c708cdcf883e8fe4c7d2bb2
2012-05-22 03:10:58 -04:00
Dan Wendlandt
f743117c49 API docs: fix typo for network delete
bug 962282

Change-Id: Ic7f633b59d963e8a14a993468048ccbded9aba34
2012-03-22 09:49:54 -07:00
Jenkins
886f7941a0 Merge "fixed incorrect duplicate title" 2012-03-13 00:43:49 +00:00
Jenkins
5b4ea1f55a Merge "add git commit date / sha1 to sphinx html docs" 2012-03-13 00:40:44 +00:00
Mark McClain
d428098f91 fixed incorrect duplicate title
Fixes bug 951089

Changed the JSON example title to label the port JSON API examples properly.

Change-Id: I0bec330256f1dd3de43bc3202cedada2f9d40c01
2012-03-09 14:50:19 -05:00
Mark McClain
5368238b87 Fixed incorrect title for example 3.10
Fixes bug 950535

Changed title for Example 3.10 to correctly reflect JSON

Change-Id: I0f7fae73efa80b617da0a895b80a95f60cb12c42
2012-03-09 00:11:02 -05:00