Add an application which logs the data and metadata
of every packet received to the log file.
Change-Id: I665c03c9bdf9f00f9c734ae355336396e15bd27b
Closes-Bug: #1815886
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
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
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
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
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
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>
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
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