77 Commits

Author SHA1 Message Date
Sean Mooney
c21b79250a modernize testing
This change modernizes how testing is done in
networking-ovs-dpdk by droping legacy py 27 testing
and updateing how we use tox and sphinx.

With this change all testing is now done under python3.
While most testing had been moved to python3 already
his change simplifies the tox.ini file and raise the minium
version. Addtionally the setuptool classifier metadata has
been updateded to reflect that only python 3.6+ is supported.

This change also adops the openstack docs theme instead of the
legacy oslosphix theme and moves to build docs by directly invoking
sphinx. pdf-docs support is also added for parity with other projects
and bindep support for the pdf-docs target is added.

This change updates the zuul jobs to use the ussuri template.

This change updated the .gitignore to ignore addtional files that
are generated during testing.

This change updates the constratints url to use the web redirect
instead of the git repo and adds some TODOs for other cleanups.

Change-Id: I6b8a42666cd76d51041cf9f9f5ccb829adcf9b0d
2020-01-07 23:16:25 +00:00
deepak_mourya
1c0f1e9f59 Fix the misspelling of "default"
Change-Id: Ia756bfa42e771640ad8da597a8e4889c188d3c1d
2018-01-08 12:13:31 +05:30
zhangyanxian
b5fecac68e Update some invalid links for documentation
- Suppport versions for openflow
- Features available with datapaths
- Support kernel versions for Linux

Change-Id: I327d99c4f8c47d983fd7add27980c46dfe3fb4b6
2017-08-14 06:09:25 +00:00
Sean Mooney
55691f54c6 Add support for ovs 2.7
- This change increases the default ovs version
  to 2.7.0 with dpdk 16.11
- This change introduces a new OVS_VSWITCHD_INIT
  variable to control sequence of when the
  ovs-vswitchd is created relative to the configuration
  of bridges and interfaces.

Closes-Bug: #1662291
Closes-Bug: #1662289
Closes-Bug: #1676970
Change-Id: Idf8992e77616140d0a4701603a26603bb115a784
2017-03-28 18:29:56 +01:00
Sean Mooney
8b1c749531 Add standard header to .rst files
- This change intoduces a standard header to
  all RST files to defile the defult Heading level
  types.
- Heading levels:
  =======  Heading 0 (reserved for the title in a document)
  -------  Heading 1
  ~~~~~~~  Heading 2
  +++++++  Heading 3
  '''''''  Heading 4

Change-Id: Ibc7d19d6aaa9a10f4a931fdb1e46f728426dcc59
2017-03-27 14:08:18 +01:00
Jenkins
28d7af5d8f Merge "Remove Puppet support." 2017-03-27 12:25:45 +00:00
Sean Mooney
4e10dce63c Remove Puppet support.
- Puppet support was deprecated in the Newton release.
- This change removes support for deploying ovs-dpdk
  from source via Puppet.

Change-Id: I47fe73eef02f5e587af4f0f21fc4aeee2033d4be
2017-03-27 08:09:39 +01:00
Sean Mooney
2394ae9d31 make usage headers linkable
- This change refactors the usage.rst to convert as variable
  definitions to linkable headers.

Change-Id: Iff729677c53b8ccf4ebcc05793c50036b7838539
2017-03-26 22:26:20 +00:00
Emilien Macchi
c704a90dd9 Switch trunk/cbs/buildlogs to use https
There is a permanent redirection from http to https in buildlogs, cbs
and trunk repos that might create issues when the redirection fails for
some reasons.
Let's use https directly.

Change-Id: I84c81769f48f4c0ce95ca73623ed63d6657e15d5
2017-03-24 23:24:47 +00:00
Jenkins
4697542ec4 Merge "Adding Support for Mellanox NICs" 2016-12-19 15:41:16 +00:00
Lenny Verkhovsky
f76071f402 Adding Support for Mellanox NICs
Change-Id: I6033fe67c910e7a797a4553ebb859e8cfa1d9c92
2016-12-19 12:53:13 +00:00
Rodolfo Alonso Hernandez
4eea918c0a Fix minor documentation warnings
Change-Id: Ic2b53a9fcaabfce70fe439ed301322b26fb5627f
2016-12-13 14:02:50 +00:00
Rodolfo Alonso Hernandez
26c06836bf Reintroduce "learn-action" firewall driver
This patch reintroduce the "learn-action" firewall driver
for OVS.

Change-Id: I821036ed31997a2fe44d39c55e7ccfe0cabdd22a
2016-12-13 08:29:49 +00:00
Jenkins
78e31a5d98 Merge "Update project documentation formatting" 2016-10-18 17:50:05 +00:00
Helena McGough
0a1f7106a7 Update the ubuntu getting started guide.
- changed the OS requirements to ubuntu 16.04
- update the single node local.conf example
- added references and collateral

Closes-Bugs: #1599548, #1522632
Change-Id: Ifb2c6f7dfcf81b9f457bd2cb899148041caf3578
2016-10-13 09:09:39 +00:00
Rodolfo Alonso Hernandez
5f6b241c0b Update project documentation formatting
Added section indexes and fixed some formatting errors.

Change-Id: Ie42184b9057ef6d02f4917d7eee73b55ae1032a0
2016-10-10 11:24:36 +00:00
Emma Foley
9be3aad1ee Add option to compile DPDK to a shared library
Change-Id: I294c77d9d9d14cc5af7e95f00186b08c09b8dc7d
Closes-Bug: #1623979
2016-10-03 21:55:32 +00:00
Sean Mooney
cecbf224d1 Enable conntrack Security Group Firewall driver
This change removes the 'learn action' based Security
Group Firewall Driver and documents how to enable the
conntrack Security Group Firewall Driver.

This change bumps the default OVS and DPDK commits
to enable conntrack support.

Change-Id: I81e82da9d26f2f8f75da0e766898ac528fb8fc59
2016-09-27 10:58:18 +01:00
Sean Mooney
190732d70c introduce new OVS_VHOST_USER_SOCKET_DIR varible
- this change introduces a new varible to define
  the vhost-user socket dirctory.
- the OVS_VHOST_USER_SOCKET_DIR varible can be used
  to group vhost-user socket in a subdirectory
  of the ovs run directory.

Change-Id: I4ed0e23eead0b39d1deafc75999f4b091a1ce9bb
2016-07-20 20:00:10 +00:00
David Shaughnessy
4f84f49cd9 Install additional dependencies while stacking
- remove some OS specific packages from getting started guides
- add ovs_dpdk_pre_install function that installs dependancies

Change-Id: I1bece2d59b8a18ffe63ae22e6c18328a97cd3f72
Closes-Bug: #1603093
2016-07-18 15:39:49 +01:00
haidee mcmahon
076a80d34b Fixed typo in Getting Started Guides
- Added a "t" to OpenDaylight
Closes-Bug: #1599445

Change-Id: I26f53fe7aff87cadfd9ff4d416a32103e3ca8032
2016-07-06 15:49:06 +01:00
Jenkins
26cfcab1fc Merge "add support for db based ovs init" 2016-06-13 11:33:29 +00:00
Jenkins
98029eeedc Merge "updated centos install to use virt sig" 2016-06-10 16:44:12 +00:00
Sean Mooney
fa507729ab add support for db based ovs init
- OVS with DPDK reqiures several paramaters
  to be passed on the commandline to enable
  dpdk. As part of a refactoring to improve
  the usablity of ovs with dpdk support,
  these paramaters are being moved to the
  ovsdb.
- This change enables support for deploying
  ovs with the legacy cli paramters or the
  upcoming db workflow.
- This change introduces a new OVS_INIT_POLICY
  setting to allow selecting which policy to use.
  cmd:  legacy workflow
  db:   new workflows
  auto: (default) will attempt to detect which
        version to use.

Change-Id: If142eb20568fc23b8d28cf2b97857a83ac9ba9d5
2016-06-03 18:19:15 +00:00
Sean Mooney
4bf5b033cc updated centos install to use virt sig
- this change removes previous code to
  install libvirt and qemu from rpms in
  favor of using the CentOS virt SIG repo

Change-Id: I0c8aaad652364ce709ead288c1cd6ce6a1f9efb4
Partial-Bug: #1564655
2016-05-30 18:59:14 +00:00
Jenkins
efdf7e1ef2 Merge "Add support for configuring EMC" 2016-05-30 18:39:49 +00:00
Jaroslav Safka
29b140ea5a Add support for configuring EMC
Add new variable OVS_EMC_SIZE where can be set number of bits.
This value will be patched in constant EM_FLOW_HASH_SHIFT
in ovs lib/dpif-netdev.c

Closes-Bug #1550714

Change-Id: I4331c90696331594bde7d890b952f8c710a68bba
2016-05-27 08:39:23 +01:00
Jenkins
d1d6d15ba5 Merge "Add support for uio_pci_generic module" 2016-05-27 07:09:32 +00:00
Jaroslav Safka
f35ca0435e Add support for uio_pci_generic module
Add support for the module into ovs

Closes-Bug #1573876
Change-Id: I2f7176504531223fa234a7e80cf2914fc6644e2c
2016-05-25 08:25:29 +01:00
Michal Ptacek
1b08691aaf Adding CentOS 7 support for ovsdpdk puppet module
- newer OVS & dpdk v2.2.0 has to be used
- known issues section extended
- improving handling of services restart
- PMD threads are updated in DB before OVS is started

Change-Id: I4afc81a9f940ee40daa3dc04a6ade5e85f24e657
Closes-Bug: #1523808
2016-05-22 12:31:31 +01:00
Jenkins
a502674c2e Merge "Added configuration OVS_DPDK_BIND_PORT" 2016-05-13 13:59:37 +00:00
Federico Ressi
4b1f99bb2d Add OpenDaylight section to DevStack getting-started
Write documentation about how to setup Networking-ODL plugin
together with Networking-OVS-DPDK plugin.

Change-Id: Id19ea731b65c5d859518d88dc3dae84faf2a57d2
Closes-Bug: #1573611
2016-05-11 15:59:59 +01:00
karthik s
db057cfccd Added configuration OVS_DPDK_BIND_PORT
if OVS_DPDK_BIND_PORT=True, then automatically bind interfaces to the dpdk poll mode driver
for each bridge added to OVS_BRIDGE_MAPPINGS

if OVS_DPDK_BIND_PORT=False, then the interfaces will not be bind with DPDK driver

Closes Bug:1461916
Change-Id: I9978953fee546d8b94c49a1c5f2962ffeac1ef38
2016-05-11 14:51:27 +00:00
Michal Ptacek
8f51733049 Adding multinode scenario into ovsdpdk puppet module
Following changes are addresses in this commit:
- adding separated compute & controller scenario
- moving configuration changes to standard puppet openstack providers
- documentation changes
- some mitaka related tuning

Change-Id: Id516c46cefc2f5875894cd69ea200ce524d8ed63
2016-04-15 08:24:17 +01:00
zhang.lei
f9d43750cf Change 'Downgrade kernel' to 'Check kernel versions'
Change-Id: Iaa39ca275cb3deaa43c3eda55adca7b8858c81da
2016-02-29 15:44:57 +08:00
Rodolfo Alonso Hernandez
dcbed4347b Changed default value of OVS_ENABLE_SG_FIREWALL_MULTICAST to False
The default value of OVS_ENABLE_SG_FIREWALL_MULTICAST is set now
to False. This variable is used to set the multicast support in
OVS and the OVS firewall driver.

This change is made to avoid configuration problems with older
versions of OVS (<2.4).

Change-Id: I783fdfdfbaff707b73dc28bd8cba347e98c4b4b3
2016-02-12 15:58:57 +00:00
Michal Ptacek
015e215d75 Add Getting started guide for puppet module
- adding new guide for Ubuntu deployment
- moving devstack guides to special devstack folder

Change-Id: I839bf2c3081d45889c681a816bac8175506fd5b3
Closes-Bug: #1522630
2016-02-12 12:29:21 +00:00
Rodolfo Alonso Hernandez
5b46af8771 Added IPv6 support to Security Groups in OVS DPDK firewall.
Added support for IPv6 to the SG OVS DPDK firewall and UTs
testing the new functionality.

Change-Id: I9e6f131fe11d87974a8d09e50e28acdd49ca1bfb
2016-02-12 10:12:41 +00:00
Sean Mooney
c8882da51a extends local.conf and GSGs with vxlan/gre examples.
- This change document how to deploy ovs-dpdk with vxlan
  or gre tenant networks.
- This change document the existing functionality in the
  local.conf examples and getting started guides.

Change-Id: I9692e32bf9dbfbec6227789e6229abd08a3b46ac
Closes-Bug: #1522631
2016-01-20 18:53:42 +00:00
Jenkins
2f92e9c517 Merge "Fix some typos" 2016-01-19 12:21:54 +00:00
Rodolfo Alonso Hernandez
e3b81752dd Full multicast support to the SG OVS DPDK firewall.
Added support for external and internal multicast traffic. If the
multicast support is enabled, both integration and physical bridges
are configured to be multicast aware.

UTs modified.

DocImpact
Closes-Bug: #1522634
Closes-Bug: #1522904
Change-Id: I793d05306849070dd71db6da8a245e69e09fd1f3
2016-01-15 11:13:28 +00:00
chen-xing
451b6a5e45 Fix some typos
Change-Id: Ie0ad9515186b4efe83b28e5d49e79529cec7cd44
2016-01-06 17:41:42 +08:00
Michal Ptacek
e24b682558 OVS_PMD_CORE_MASK default value not working properly
On host with multiple numa nodes default value is not creating
pmd threads for other non-zero numa nodes therefore
potential dpdk nic's from those nodes will not work.

This patch is just documenting it as known issue.

Change-Id: I5b252dfb5e8bdf7bdfdb31924fd690238ba72e93
Closes-Bug: #1530857
2016-01-05 07:12:35 +00:00
Jenkins
8b557881ca Merge "OVS DPDK service shows debug logs on demand" 2015-12-14 15:38:44 +00:00
Jenkins
f4de75c9ac Merge "local.conf: change stackforge to openstack" 2015-12-14 15:10:28 +00:00
Wanlong Gao
3744a7b207 local.conf: change stackforge to openstack
s/stackforge/openstack/

Change-Id: I2a21558ba7fd351faf3b1356e0e333aa84b95554
Signed-off-by: Wanlong Gao <wanlong.gao@easystack.cn>
2015-12-12 18:45:19 +08:00
Vaclav Hejral
c765eb7473 OVS DPDK service shows debug logs on demand
OVS_DPDK_SERVICE_DEBUG_OUTPUT introduced which can be set in local.conf as
True to have debug traces while executing OVS-DPDK service.

XTRACE handling based on devstack.

Change-Id: Ia77faf7782658c85c3d131e3d52b44bf6084dbea
Closes-Bug: #1524247
2015-12-10 10:14:14 +00:00
Jenkins
ee78497a0a Merge "Add workaround notice for apparmor issue." 2015-12-10 08:22:42 +00:00
Hui Xiang
31a21ab811 Add workaround notice for apparmor issue.
Change-Id: Ibfbb66a591f6f12803e3439c64c99e9f38fab160
2015-12-08 12:37:04 +08:00
Jenkins
acd8265efc Merge "Updating ovs/dpdk tags in puppet" 2015-12-01 16:07:45 +00:00