<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" face="Courier New,sans-serif" color="#000000">Hi Congress team,<br><br>I'm trying to develop tests for the reactive policy features of Congress. I have one such test working, shown at <a href="https://git.opnfv.org/cgit/copper/tree/tests/adhoc/dmz01.sh" target="_blank">https://git.opnfv.org/cgit/copper/tree/tests/adhoc/dmz01.sh</a>, which applies the following rule for pausing a server when there has been an error in server placement (in a hypothetical "dmz" network environment): <br></font><code><span class="hl str"><br>"execute[nova:servers.pause(id)] :- <br>  </span></code><code><span class="hl str">dmz_placement_error(id),<br>  </span></code><code><span class="hl str">nova:servers(id,status='ACTIVE')"</span> <span class="hl opt"></span><br><br>I'm also trying to develop a similar test for deletion of a subnet that has been defined in a reserved subnet space. But I can't figure out how to specify the action. I'm currently trying things like:<br><br>"execute[neutron:delete_subnet(x)] :- reserved_subnet_error(x)"<br>or <br></code><code><code>"execute[neutron:subnet.delete(x)] :- reserved_subnet_error(x)"<br><br></code>Where "reserved_subnet_error" is a table created by matching an allocated subnet against a list of reserved subnets (e.g. for admin purposes, and not intended to be made available to VMs).<br><br>To help me develop such tests, it would be good to know a complete list of the "execute" action supported in Liberty (for all services). But I only see a reference to the nova example above in the docs. I've looked thru the code for neutron actions but can't find anywhere that a complete set of supported actions is described, or the syntax for invoking them in an execute rule.<br><br>Any pointers to where I should look (even in the code) is much appreciated.</code><br><br>Thanks,<br>Bryan Sullivan                                           </div></body>
</html>