summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblsaws <bryan.sullivan@att.com>2016-05-24 06:37:04 -0700
committerblsaws <bryan.sullivan@att.com>2016-05-24 06:37:04 -0700
commitaf083995bda454ed9bda6629fadabcb41efcf1c3 (patch)
tree9a2d4aebd08af494114d7324f3031441897609d4
parent4cc5c1b7d01eb2e0c785d904f715bab1a5437c30 (diff)
Update security group rule for changes needed in mitaka
JIRA: COPPER-4 Change-Id: Ib484a43d2b5a7d7efb2c120169f6dcaad4337034 Signed-off-by: blsaws <bryan.sullivan@att.com>
-rw-r--r--tests/smtp_ingress.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/smtp_ingress.sh b/tests/smtp_ingress.sh
index b53ebab..2c785bd 100644
--- a/tests/smtp_ingress.sh
+++ b/tests/smtp_ingress.sh
@@ -57,7 +57,7 @@ if [[ $(openstack congress policy show test | awk "/ id / { print \$4 }") ]]; th
openstack congress policy create test
echo "Create smtp_ingress rule in policy 'test'"
-openstack congress policy rule create test "smtp_ingress(x) :- nova:servers(id=x,status='ACTIVE'), neutronv2:ports(port_id, status='ACTIVE'), neutronv2:security_groups(sg), neutronv2:security_group_port_bindings(port_id, sg), neutronv2:security_group_rules(sg, rule_id, tenant_id, remote_group_id, 'ingress', ethertype, 'tcp', port_range_min, port_range_max, remote_ip), lt(port_range_min, 26), gt(port_range_max, 24)" --name smtp_ingress
+openstack congress policy rule create test "smtp_ingress(x) :- nova:servers(id=x,status='ACTIVE'), neutronv2:ports(port_id, status='ACTIVE'), neutronv2:security_groups(sg, tenant_id, sgn, sgd), neutronv2:security_group_port_bindings(port_id, sg), neutronv2:security_group_rules(sg, rule_id, tenant_id, remote_group_id, 'ingress', ethertype, 'tcp', port_range_min, port_range_max, remote_ip), lt(port_range_min, 26), gt(port_range_max, 24)" --name smtp_ingress
echo "Create image cirros1"
image=$(openstack image list | awk "/ cirros-0.3.3-x86_64 / { print \$2 }")