From af083995bda454ed9bda6629fadabcb41efcf1c3 Mon Sep 17 00:00:00 2001 From: blsaws Date: Tue, 24 May 2016 06:37:04 -0700 Subject: Update security group rule for changes needed in mitaka JIRA: COPPER-4 Change-Id: Ib484a43d2b5a7d7efb2c120169f6dcaad4337034 Signed-off-by: blsaws --- tests/smtp_ingress.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }") -- cgit 1.2.3-korg