diff options
Diffstat (limited to 'tests/adhoc/dmz01_1.sh')
-rw-r--r-- | tests/adhoc/dmz01_1.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/adhoc/dmz01_1.sh b/tests/adhoc/dmz01_1.sh index 9d8307d..3ec4839 100644 --- a/tests/adhoc/dmz01_1.sh +++ b/tests/adhoc/dmz01_1.sh @@ -44,8 +44,10 @@ openstack congress policy create test openstack congress policy rule create test "dmz_server(x) :- nova:servers(id=x,status='ACTIVE'), neutronv2:ports(id, device_id, status='ACTIVE'), neutronv2:security_group_port_bindings(pid, sg), neutronv2:security_groups(sg,name='dmz')" --name dmz_server +openstack congress policy rule create test "cirros(x) :- nova:servers(id=x,image,status='ACTIVE'), glance:images(image,name='cirros')" --name cirros_server + # currently failing "Rule already exists::An unknown exception occurred. (HTTP 409)..." -# openstack congress policy rule create test "dmz_placement_error(id) :- nova:servers(id,name,hostId,status,tenant_id,user_id,image,flavor,OS1,OS2), not glance:images(image,tags='dmz'), dmz_server(x)" --name dmz_placement_error +# openstack congress policy rule create test "dmz_placement_error(id) :- nova:servers(id,name,hostId,status,tenant_id,user_id,image,flavor,OS1,OS2), not glance:images(image,status,gname,container_format,created_at,updated,disk_format,owner,protected,min_ram,min_disk,checksum,size,file,kernel_id,ramdisk_id,ramdisk_id,schema,visibility,tags='dmz'), dmz_server(x)" --name dmz_placement_error # validated rules created during test development # openstack congress policy rule create test "active_servers(x) :- nova:servers(id=x, status='ACTIVE')" --name active_servers |