Commit Graph

366 Commits

Author SHA1 Message Date
Sean McGinnis 7839f35ca3
Retire repo
This patch completes step 2 of the infra project retirement process
found here:

https://docs.opendev.org/opendev/infra-manual/latest/drivers.html#step-2-remove-project-content

Reference:

http://lists.openstack.org/pipermail/openstack-discuss/2020-June/015600.html

Depend-on: https://review.opendev.org/737566

Change-Id: Id3a5477860323547a4e17155061f597a8c96640b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-23 10:49:40 -05:00
Zuul 5682d39ade Merge "Blacklist sphinx 2.1.0 (autodoc bug)" 2019-08-13 06:22:00 +00:00
pengyuesheng 913056b31b Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details

Change-Id: Id3968215aceb1190e0cc5caa0db08891a1428ef7
2019-08-12 20:54:43 +00:00
Andreas Jaeger 4039bf0909 Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: I5e29862196d4e615d49db8c214c4419239424567
2019-08-12 20:54:32 +00:00
jacky06 624fb58fc0 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Remove unncessary "=="

Change-Id: Ic8d4ac21906dd78159375a51fc7514f8d664f22a
2019-06-18 23:37:22 +08:00
Shachar Snapiri f1788f3ac6 Update cirros image version
The current cirros image version is 0.4.0.
As we have the image name hard-coded, it is required that we update it manually.
See [1] for reference.

[1] https://review.openstack.org/#/c/521825/

Change-Id: I99a49975c5674991d84932ebd2c7ab6599d343ea

Migrate Dragonflow from Ryu to os-ken

This change causes Dragonflow to stop consuming Ryu in favor of os-ken.
os-ken becomes the reference implementation for BGP services and
Dragonflow no longer has a dependency on Ryu.
See [1] for reference in Neutron.

[1] https://review.openstack.org/607008/

Change-Id: Ifbf294f2f586cf765d20cfa60774c45aa735ca62

Force delete of VM on close

There are tests that fail because we are waiting for the VM to complete shutdown
In tests, we do not mind destroying the machine forcefully as there is no reason
to wait for it.

Change-Id: I5f8e4928ceb7b467af891835600cd8096ec88d2b

use payloads for SECURITY_GROUP BEFORE_DELETE events

This patch switches over to the payload style callbacks for
BEFORE_DELETE events of SECURITY_GROUP resources.

Co-Authored-By: Boden R <bodenvmw@gmail.com>
Depends-On: https://review.openstack.org/#/c/597599/
Change-Id: Ie9163ad7baecf85e234e4253160f30015b43166b
2019-02-05 11:31:44 +02:00
Shachar Snapiri 7af9139a4c Fix snat documentation formatting
Change-Id: I18ba6a8363cc91d8fac90a7c62701b8695129f70
2018-12-30 14:02:14 +00:00
Shachar Snapiri 11cf7741cd Added create and update hooks to version mixin
Objects using the version mixin will now have the version automatically
added or updated in the create and update hooks respectively.

Change-Id: I198eb89b45f0f16abb97611b8e43c106e24b9b49
Closes-Bug: #1808331
Co-Authored-By: Omer Anson <omer.anson@toganetworks.com>
2018-12-18 18:18:00 +00:00
Shachar Snapiri 04cdcb41c9 Added validation to docker script verbs
Added a noop verb that does nothing, also added a global-catch that
issues a warning if unknown verb was supplied.

Change-Id: I98ca93457f58d7d9f63188d3642788e5618df62d
2018-12-12 09:10:13 +02:00
Shachar Snapiri 20bf8ae88d Make corrections to the docker install documentation
A few typos were fixed in the documentation about how to run Dragonflow
in a docker, while not running the controller service.

Change-Id: I38076f0b3cbcc151c718a3f81d5837644a3d869c
Co-Authored-By: Omer Anson <omer.anson@toganetworks.com>
Partially-Implements: blueprint add-dragonflow-api
2018-11-12 14:22:29 +00:00
Omer Anson 1808a2cbfd Allow simple REST API container deployment
* Add verbs to container entrypoint

* Have REST API serve the schema JSON

* Add documentation explaining how to deploy

Co-Authored-By: Shachar Snapiri <shachar.snapiri@toganetworks.com>
Change-Id: I243130a219d3e9e96bf87d39693e600ea4b627a2
Partially-Implements: blueprint add-dragonflow-api
2018-11-11 14:32:07 +00:00
Zuul a6955d877b Merge "fix typos in lbaas.rst" 2018-11-08 22:15:46 +00:00
wangjian 4409e7920b fix typos in lbaas.rst
Change-Id: Ib8e535eb8ea2eaf3d58ed1d3e730b6f1fdbe4861
2018-11-08 13:36:16 +00:00
whoami-rajat 34fd2a0ec7 Add dragonflow-status upgrade check command framework
This adds basic framework for dragonflow-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: I9791b3fcce65b08f92b3c5d54b529633579f795a
Story: 2003657
Task: 26128
2018-10-18 16:03:00 +05:30
chengebj5238 3574f6fa54 Spelling mistakes
Change-Id: I035f375f21e42bb36ba0625dc76582f92c67e253
2018-09-07 10:26:41 +08:00
Zuul 63f13f8d22 Merge "Fix run_dragonflow mgmt_address parameter" 2018-09-03 08:33:19 +00:00
Lihi Wishnitzer ec77952569 Fix run_dragonflow mgmt_address parameter
The script run_dragonflow tried to receive the parameter --mgmt_address.
However in the documentation, management_ip should be configured.

This fixes mgmt_address to management_ip to match both documentation and
the project's convention.

Change-Id: I7e913a1c7f82dcb77c1c00b520c1c1a7b6ece41b
2018-07-29 09:49:57 +03:00
Lihi Wishnitzer b033bc42c1 Run Docker container without the controller service
This adds the option to run the Docker container without the controller
service running on the container.
This is useful in order to create separation between the Dragonflow
API (df-db) and the controller service.

Related-Bug: #1778007

Change-Id: I4fb77ae03e47942a75d34bfb4f8c80db21a3aec6
2018-07-16 11:52:29 +03:00
Shachar Snapiri a85d2ec86b Re-add D001 test and fix all documents accordingly
Re-added the D001 test (line too long) and fixed all documents that had
long lines.

Change-Id: I2cb3c0807c1668cb48022d380ebbe95d12215210
2018-07-15 17:50:13 +03:00
Dao Cong Tien 0eca4733d6 Adds doc8 check to pep8
This patch adds doc8 check for .rst files to pep8.
Files that fail doc8 check are also fixed.

Ignore D001 of doc8 check. This requires lot of changes and
should be done in a separated patch.

Change-Id: Ie2d258e9268fe20ae7988a3b4af92a8a6973b9c6
2018-07-13 03:52:28 +00:00
Nguyen Van Trung cd628426cd Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more details information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Iec12cf7d3d9a84ff6ef4550d8453e822e80bc3c7
2018-07-09 09:16:16 +07:00
Shachar Snapiri ce7abc0fd0 Add Docker support
Add support for running dragonflow as a docker container.

Includes documentation how to set up with OVS running on the host.

Change-Id: Ia7185ea7f9d47a56853def418aeab8c3a4e87d0a
Resolves-Bug: #1778007
2018-06-25 08:38:13 +00:00
Shachar Snapiri bbe1347e4e Refactoring of ZMQ pubsub
To work around the ZMQ issues (publisher binds to a port, thus only one
publisher can work on a given IP), we had a lot of junk code in our
repo.
Removed all redundant mechanisms (use_multiproc, is_neutron_server) and
modified to have 2 types of configurable ZMQ drivers:
1. zmq_remote_pubsub_driver - Has TCP publisher and IPC subscriber, This
   should be used in the publisher service.
2. zmq_pubsub_driver - Has IPC publisher and TCP subscriberi, This
   should be used in all other uses.

The way to set the one to use is via configuration, thus it is up to the
deployment to make sure this is configured correctly.

Change-Id: Ibf7894e608187e87bdeb7774749bfa0cc15eae56
2018-06-12 13:01:49 +00:00
Zuul f4e29dc375 Merge "Fix documentation compilation" 2018-04-29 08:37:24 +00:00
Omer Anson 8bfa42f11c Fix documentation compilation
This change ensures that 'tox docs' succeeds

Change-Id: Iaaeb4dc86fb39cb8212c20f145d9ebd091c73c1f
2018-04-12 10:45:35 +03:00
Shachar Snapiri 7be2d258e2 Add df_skydive_service to dragonflow
To enable skydive, one should now enable the service in the local.conf
file using the following line:
enable_service df_skydive

If you would like to install the SkyDive analyzer on the same node, the
SkyDive install lines MUST be before the DragonFlow ones!
Please see doc/source/single-node-conf/etcd_skydive_local_controller.conf
file for usage example

Change-Id: I66c3eaf18904ae1c109d0ca8007269c41261d791
Depends-On: c5921051d7bc05d2c29494be842329e2ffcc008a
Related-Bug: #1749429
2018-04-11 14:15:02 +03:00
Shachar Snapiri 6605dd26bc Fix a typo in skydive spec
Newlines were missing so the formatting was wrong

Change-Id: I93b9043a794e124315f9f5795a72d27dee42fead
Related-Bug: #1749429
2018-03-20 12:04:41 +02:00
Shachar Snapiri fc825d4586 SPEC - Skydive integration
Spec for the integration of the SkyDive project in Dragonflow.
Still a few open issues (expect more to be there) - feedback is welcome

Change-Id: I2045fe79423b43b98faef41dc35f28aa872a2b78
Related-Bug: #1749429
2018-03-18 11:46:54 +00:00
pangliye 32d7cf1572 fix misspelling of 'neutron'
Change-Id: Icfdd3ea2790969d49d780211351a65fdd7982d90
2018-02-22 11:27:51 +08:00
baiwenteng e311a1ee14 Fix typos in dragonflow
Change-Id: Ifb9f116406c45995ee53ff7d63bd5795637ca2e1
2018-02-14 08:36:08 +00:00
chengebj5238 40ce153388 Replace Chinese colon is changed to English colon
Change-Id: Idebe5454af2178d6fbf78aa8eb60d3b3da0fe715
2018-02-05 17:28:07 +08:00
Zuul 53271e4f1d Merge "[spec] Internal Dns As A Service" 2018-01-28 11:08:20 +00:00
gaofei 61daf89735 Update common_params.py path and link
Update from 'dragonflow/common/common_params.py' to 
'dragonflow/conf/df_common_params.py'
Change-Id: If3db15ac4596604c525d0bf86fda1ac980fc6ae3
2018-01-25 05:34:38 +00:00
gaofei a171ffb9a6 Replace curly quotes with straight quotes
Change-Id: I24c3b0088623aace620a1e3b0e772ea2d37cbe71
2018-01-24 09:17:37 +08:00
Zuul f5524f1053 Merge "Spec: Database Migration" 2018-01-23 19:35:38 +00:00
Omer Anson 04d0b88413 Spec: Database Migration
Co-Authored-By: Dima Kuznetsov <dima.kuznetsov@toganetworks.com>
Change-Id: Id3878f1362e97e7e6f5aa77074646611326ae3dc
2018-01-23 13:40:28 +02:00
Zuul 4857b06b51 Merge "Make remote_db_port and remote_db_ip deprecated" 2018-01-23 10:49:51 +00:00
Zuul 95fedab302 Merge "Disable Active Port Detection when using ZMQ" 2018-01-22 16:20:18 +00:00
Omer Anson 4849c7a521 Make remote_db_port and remote_db_ip deprecated
Change-Id: I913dd23ee288fd52dd7d7e0bbd858d6e2e5e8ab0
Closes-Bug: #1627229
2018-01-22 16:28:00 +02:00
zhangdebo 8f51df324d Fix typo
Change-Id: I1624ad8c99db0a0339d39a211f89b09b55e1383e
2018-01-18 19:56:20 +08:00
Lihi Wishnitzer e27525801f Disable Active Port Detection when using ZMQ
Currently Active Port Detection and ZMQ have port collision.
This patch disables Active Port Detection when using ZMQ
in our suggested local.conf

Change-Id: I08fafee1e2f7ea31f89ca98904ee786e3b2b0747
Related-Bug: #1716933
2018-01-17 16:49:17 +02:00
Lihi Wishnitzer c338341387 [spec] Internal Dns As A Service
A spec for Dragonflow's implementation of DNSaaS,
and how it can intergrate with external DNS servers.

Related-bug: #1738195

Change-Id: I8c0d63c511398cdb90e2a9927ea8aefa8f0e4adc
2018-01-17 11:13:14 +02:00
Zuul a248b40ef9 Merge "Remove df-etcd-server from the suggested local.conf" 2018-01-16 13:07:52 +00:00
Zuul abd5bc4220 Merge "Add support for osprofiler in dragonflow" 2018-01-16 09:45:45 +00:00
Zuul d157333a47 Merge "Modified default pubsub mechanism to etcd" 2018-01-15 10:50:47 +00:00
Zuul ac9b8be529 Merge "Add all-in-one vagrant config" 2018-01-15 10:50:46 +00:00
Zuul 0ffa02df63 Merge "Refactor vagrant configuration" 2018-01-15 10:50:45 +00:00
Lihi Wishnitzer 62ed36ada5 Remove df-etcd-server from the suggested local.conf
Since [1] we no longer support df-etcd-server, and use
devstack's default installation of etcd.

This commit changes the suggested etcd local.conf,
to install etcd in the same way.

[1] 49a78472ed

Change-Id: I44fde11b464be85bdf4664789b4f641b35bde2b6
2018-01-14 16:04:42 +02:00
Shachar Snapiri ff9a24ac30 Modified default pubsub mechanism to etcd
In setups where we have etcd installed, we now use etcd pubsub instead
of the zmq pubsub.
This is more natural and prevents issues during the install process.

Change-Id: I23fa9b1282eea53c3a05af6324644c1c815a491d
2018-01-14 15:37:52 +02:00
Shachar Snapiri 13bf7cf6c5 Add support for osprofiler in dragonflow
Added first version of osprofiler support.
Added for all nb_db classes, for all events and first_packet handling in
the controller.

See osprofiler guide at:
https://docs.openstack.org/zaqar/latest/admin/OSprofiler.html
Dragonflow instructions are at doc/source/osprofiler.rst.

Change-Id: I2ad3405f6884d6a39f243913c1ab5bdaf6855b84
Closes-Bug: #1690272
2018-01-14 13:27:55 +00:00