Skip to content

Commit

Permalink
Merge pull request #253 from eugeneia/neutron2snabb_disable_secgroups
Browse files Browse the repository at this point in the history
[neutron2snabb] Disable security group config temporarily
  • Loading branch information
lukego committed Sep 5, 2014
2 parents 4f01dd0 + 89cdde8 commit 796c8da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/designs/neutron/neutron2snabb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ function create_config (input_dir, output_dir, hostname)
if port.admin_state_up ~= '0' then
local vlan = segments[port.network_id].segmentation_id
local mac = port.mac_address
local ingressfilter = filter(port, secbindings, secrules)
-- Skipping filter for now.
print("Warning: Ignoring security group configuration.")
local ingressfilter = nil --filter(port, secbindings, secrules)
local gbps = vif_details.zone_gbps
local tunnel = tunnel(port, vif_details)
outputs[port_id]:write((' { vlan = %d,\n mac_address = %q,\n port_id = %q,\n ingress_filter = %s,\n gbps = %s,\n tunnel = %s\n },\n')
Expand Down

0 comments on commit 796c8da

Please sign in to comment.