[openstack-dev] [Congress] Policy Enforcement logic

Jay Lau jay.lau.513 at gmail.com
Thu Aug 21 14:54:11 UTC 2014


I know that Congress is still under development, but it is better that it
can provide some info for "How to use it" just like docker
https://wiki.openstack.org/wiki/Docker , this might attract more people
contributing to it.


2014-08-21 22:07 GMT+08:00 Madhu Mohan <mmohan at mvista.com>:

> Hi,
>
> I am quite new to the Congress and Openstack as well and this question may
> seem very trivial and basic.
>
> I am trying to figure out the policy enforcement logic,
>
> Can some body help me understand how exactly, a policy enforcement action
> is taken.
>
> From the example policy there is an action defined as:
>
>
>
> *action("disconnect_network") nova:network-(vm, network) :-
> disconnect_network(vm, network) *
> I assume that this statement when applied would translate to deletion of
> entry in the database.
>
> But, how does this affect the actual setup (i.e) How is this database
> update translated to actual disconnection of the VM from the network.
> How does nova know that it has to disconnect the VM from the network ?
>
> Thanks and Regards,
> Madhu Mohan
>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Thanks,

Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140821/c4979ade/attachment.html>


More information about the OpenStack-dev mailing list