-
Notifications
You must be signed in to change notification settings - Fork 298
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
Updates for designs/neutron/* #250
Conversation
This will probably conflict with neutron2snabb egress filters, please merge that PR first then I will resolve the eventual conflicts. |
else | ||
error("Failed to create " .. output_path) | ||
local binding = port_bindings[port.id] | ||
if binding.driver == "snabb" then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should do additional filtering somewhere here:
The database configuration includes records for every compute host (potentially hundreds) but we only want to generate config files for the local traffic processes on our node.
So we should have a check along the lines of:
if vif_details.zone_host == myhostname then
...
end
where myhostname is the unix host name of the machine.
There is a related feature that we should add, but I suspect it belongs in The new configuration file for a traffic process should be created:
I suspect both could be handled by updating the |
d4a5290
to
4bcb7c8
Compare
current Neutron CSV dump format. Also includes support for L2TPv3 configuration from the Neutron side. This adds lib/json.jua containing a `decode' function for JSON strings. Credit is due to Craig Mason-Jones' JSON4Lua.
neutron2snabb .
SNABB_DIR and ensure consistency by using the atomic mv(1).
designs/neutron/*
Fix hardware VLAN tagging on V6 interface.
Amended
neutron2snabb
to handle updated Neutron CSV dump format. Includes support for L2TPv3 configuration from the Neutron side.This adds
lib.json:decode
for parsing JSON strings. Credit is due to Craig Mason-Jones' JSON4Lua.Also adds a smoketest for
neutron2snabb
todesigns/neutron/selfest.sh
.More:
neutron-sync-agent
.neutron2snabb
andlib.nfv.config
(seend_light
for whyremote_mac
they became obsolete).