Commit Graph

13 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
Omer Anson e077ff987d Add a packet logger application
Add an application which logs the data and metadata
of every packet received to the log file.

Change-Id: I665c03c9bdf9f00f9c734ae355336396e15bd27b
Closes-Bug: #1815886
2019-03-21 07:48:16 +00:00
Omer Anson 8976a2cf9e Add exitpoint for legacy classifier app
Classifier app currently sends the packet directly to portsec
app. This is Bad. As described in the bug, metadata stored in
registers can be lost.

This change adds a classifier exitpoint table, and classifier
app sends the packets there. The datapath wiring then sends
the packet to the portsec app (if so configured).

This is important, since sometimes the datapath code allocates different
registers to the same metadata accross different applications, and registers
are moved. Skipping this behaviour causes errors.

Closes-Bug: #1815416
Change-Id: I38f14e8faa45e4ef3740bdbee78bd493f6d602ab
2019-02-11 09:36:38 +02: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
Zuul e2bf632535 Merge "Add OpenFlow listen address to standalone configuration" 2018-09-06 17:49:43 +00:00
Omer Anson e4f9953362 Add OpenFlow listen address to standalone configuration
In standalone configuration, the local controller needs to specify
on which address it is listening.

One scenario is in case the local controller is containerised.
Dragonflow informs OVS where the controller is listening, and
then OVS knows where to connect to the controller.

Related-Bug: #1778007
Change-Id: I4b4cdae3aa848aa02a8148a9d47f6262f707e0ce
2018-09-04 10:24:48 +00:00
Shachar Snapiri 1b5efe44f4 Allow configuration of DB drivers on docker install
Added the ability to supply 'pubsub_driver' and 'nb_db_driver'
parameters to the docker deployment.
This allows installation with databases different than etcd.
The default driver is still the etcd one, to maintain backward
compatibility.

Related-Bug: #1778007
Change-Id: Ibbd3b0fc4116dd5ac6514730773f771c0b27e5f7
2018-09-03 19:00:32 +03: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
Dima Kuznetsov e32364e80d Migrate portsec app to new framework
Change-Id: I5c76eabb9e15c628a6ca800123a135b7e1347c3f
Related-Bug: #1738986
Co-Authored-By: Lihi Wishnitzer <lihiwish@gmail.com>
2018-06-03 06:32:15 +00:00
Dima Kuznetsov c3280d5ca5 New application framework
Add initial scaffolding to support applications with non-hard-coded
table names and registers.

Includes:

* 'wiring' configuration (vertices and edges)

* Decorator for new applications, with States, Entrypoints, Exitpoints,
  and public and private variables.

Includes code for reading and parsing this information, and connecting
the 'external' tables, i.e. the exitpoints of one app to the entrypoint
if the next app.

Change-Id: I81ee47b0c6e741888b3446602cca5e1835c9ae2f
Related-Bug: #1738986
Co-Authored-By: Lihi Wishnitzer <lihiwish@gmail.com>
2018-04-29 15:58:26 +03:00
Shachar Snapiri 5f0756b79d Added more rootwrap filters for dragonflow debug
Added ability to call ovs-appctl, this is to allow calling the
SimulateAndSend for a packet for debug purposes.

Co-Authored-By: Omer Anson <omer.anson@toganetworks.com>
Change-Id: I8cb2ed5ae19d7e285e6db395aeedecc21c77b215
2017-12-29 13:36:32 +00:00
Rajiv Kumar 64fc2162e1 Moved config options of metadata_service_app
Configuration options of metadata_service_app has been moved to
dragonflow/conf/df_metadata_service.py.

Change-Id: I546d39817681464744998db1abd046677e9669a2
Partially-Implements: blueprint centralize-config-options
2016-11-23 12:27:34 +00:00
Li Ma bf7a2176fb Implements oslo conf generator
Change-Id: Ifca462b686ea914db5861880f23adde311fb4bb9
Implements: blueprint oslo-config-generator
Closes-Bug: #1523510
2016-09-29 16:42:03 +08:00