Commit Graph

11 Commits

Author SHA1 Message Date
Christian Berendt 89659b4607 ovs-dpdk: add ovs-dpdkctl.sh to the role itself
Currently the ovs-dpdkctl.sh file is present in the tools
directory and the "Copying ovs-dpdkctl tool" task accesses it.

This is bad practice. Files copied from a role should either be
referenced by an absolute path or be part of the role itself.

This change moves the ovs-dpdkctl.sh file in the files
directory of the role.

Change-Id: I01459d39207e54f270f32f37b4a5153c5a819347
2022-04-13 15:42:57 +00:00
Marc 'risson' Schmitt 839ec629bf
tools: use /usr/bin/env bash instead of /bin/bash
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Change-Id: I374f7427a4318d00ca474367818117e11789ec13
2021-08-17 14:29:33 +02:00
xiaojueguan 593b7b4ce4 fix can not generate ovs-dpdk.conf
Change-Id: I0ecc10f8035f421d7dc1132c2b29db0d9cc84cdf
Closes-Bug: #1879125
2020-05-17 16:28:59 +08:00
Dat Le 5bbecaa3ed Fix "Error: Connection activation failed: Failed to find a compatible device for this connection"
Change-Id: I7887ff3317f9eac068fee117b493db10b0e97862
2018-11-20 15:00:17 +07:00
Zuul 225d7c70a1 Merge "ovs-dpdkctl.sh function list_dpdk_nics only grabs the first nic" 2018-10-01 10:04:02 +00:00
johjuhyun 6f398cefb6 ovs-dpdkctl.sh syntax error
ovs-dpdkctl.sh doesn't work properly

Closes-Bug: #1770045
Change-Id: Ia450553296f7613f4883b79e9dd1eb3bc950e9c6
Signed-off-by: johjuhyun <juhyun.joh@samsung.com>
2018-05-12 03:31:03 +00:00
Charlie Kang 26682ea78a ovs-dpdkctl.sh function list_dpdk_nics only grabs the first nic
Adding translate, new line in for loop /etc/default/ovs-dpdkctl.conf
Removed '' around pci_whitelist args for DPDK. When multiple entries
present vswitchd does not start.

Closes-bug: #1718240

Change-Id: I8196d56fe78e9ec1a0504059b98bcb9d1ee33f76
2018-01-23 17:52:19 +00:00
Pengfei Zhang 88e5a440a5 Fixed misspelling in Kolla-ansible
Fixed misspelling in both comments and code function names 

Change-Id: Iaed5f246a9b02fd64433671fd0c0ee41b40bd222
2018-01-23 07:38:45 +00:00
Sean Mooney 781d84658d introduce playbook to ovs with dpdk
- This change creates a new role to
  support deploying ovs with dpdk.
- This change introduces an enable_ovs_dpdk
  variable to enable ovs with dpdk as part of
  the deploy action.
- This change extends the ovs-dpdkctl.sh tool
  to correctly deploy ovs-dpdk on Ubuntu and CentOS
  hosts.
- This change extends the cleanup-host tool
  to correctly uninstall ovs-dpdkctl.sh tool and its
  systemd files if present on the host.
- This change automatically configures userspace
  kernel drivers.

partial-implementes: bp/ovs-dpdk
Change-Id: I55858d81df437e8258705b75426f61ab9b907c7d
2017-08-09 18:43:06 +00:00
youri jeong f8322dffd3 fix typo
fix typo for specs/kubernetes-deployment.rst, tools/ovs-dpdkctl.sh, tools/setup_gate.sh

'managment' -> 'management'
'seperated' -> 'separated'
'occuring' -> 'occurring'
'discribed' -> 'described'
'recomended' -> 'recommended'
'thier' -> 'their'

Change-Id: Ie59c600698c965cebd9a541b951d704eda9301cb
2017-04-11 12:08:19 +00:00
Sean Mooney c29244a380 adds ovs-dpdkctl tool
- This change introduces a new tool for configuring
  host interfaces for use with ovs and dpdk.
- The ovs-dpdkctl tool will be executed via systemd
  when a system first boots to bind interfaces to
  dpdk compaible drivers.
- The ovs-dpdkctl tool will be injected into the
  ovsdb container to allow external configuration of
  ovs bridges and ports for use with dpdk.

Change-Id: Ie8f32d097f0a6816c2ddd03ade926c00837da322
2017-01-20 16:12:21 +00:00