mirror of
https://opendev.org/openstack/networking-baremetal.git
synced 2026-01-11 20:07:23 +00:00
Fix failing genconfig target
The target fails in a clean repo because the target directory does not exist. Also install the runtime dependencies to avoid keep ncclient in both requirements and test requirements. Change-Id: Ie71869a8871da6211bb6b9690b98dc1d5d9f8635
This commit is contained in:
parent
b66252c50a
commit
9ca350323a
3 changed files with 6 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -41,3 +41,6 @@ ChangeLog
|
|||
|
||||
# Vagrant
|
||||
.vagrant
|
||||
|
||||
# Sample config file
|
||||
*.ini.sample
|
||||
|
|
|
|||
|
|
@ -4,4 +4,3 @@ python-subunit>=1.0.0 # Apache-2.0/BSD
|
|||
testtools>=2.2.0 # MIT
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
testscenarios>=0.4 # Apache-2.0/BSD
|
||||
ncclient>=0.6.9 # Apache-2.0
|
||||
|
|
|
|||
6
tox.ini
6
tox.ini
|
|
@ -74,10 +74,10 @@ commands =
|
|||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:genconfig]
|
||||
deps =
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
allowlist_externals =
|
||||
mkdir
|
||||
commands =
|
||||
mkdir -p {toxinidir}/etc/neutron/plugins/ml2
|
||||
oslo-config-generator --config-file=tools/config/networking-baremetal-ironic-neutron-agent.conf
|
||||
oslo-config-generator --config-file=tools/config/networking-baremetal-common-device-driver-opts.conf
|
||||
oslo-config-generator --config-file=tools/config/networking-baremetal-netconf-openconfig-driver-opts.conf
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue