-
Notifications
You must be signed in to change notification settings - Fork 563
Add networking taas tapmirror suite #3483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
internal/acceptance/openstack/networking/v2/extensions/taas/tapmirrors_test.go
Show resolved
Hide resolved
428fb45
to
8fd72d2
Compare
we can not enable this service in devstack. taap requires
|
8fd72d2
to
bc9ccfa
Compare
@vydrazde have you tried to run functional tests in your environment? |
@kayrus I have run the acceptance tests, I wouldn't push them if they didn't pass. |
@EmilienM @stephenfin @pierreprinetti please review |
On the assumption that the new tests have been run locally. We likely want to add a new |
Closes #3482
Links to the line numbers/files in the OpenStack source code that support the
code in this PR:
https://github.com/openstack/tap-as-a-service/blob/7984544610ed949414967cfe950f18336fa21880/neutron_taas/db/tap_mirror_db.py#L82
https://github.com/openstack/tap-as-a-service/blob/7acc6654ecdffafb22e6ef9ad64606e0c902a722/neutron_taas/services/taas/drivers/linux/ovs_taas.py#L584
I am not sure how to best deal with the Directions. According to docs and unit tests the values of the Directions should be integers. However, using the python taas client with python openstack client from bash sets the values as strings. From my testing the taas accepts both
int
andstr
as long as thestr
can be converted toint
and saves thestr
unchanged (eq '002' is valid and returned as '002'). To not fail when listing or showing Tap Mirrors created by the python client I set the type asstr
, but I am open to suggestions.