Skip to contentSkip to conversation

New policy for glance from fedora

refpolicy Daniel J Walsh 2 participants 2 messages Dec 2, 2011 – Jan 5, 2012

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Glance policy needs definition for glance_registry port.

The Glance project provides services for discovering, registering, and retrieving virtual machine images. Glance has a RESTful API that allows querying of VM image metadata as well as retrieval of the actual image.

VM images made available through Glance can be stored in a variety of locations from simple filesystems to object-storage systems like the OpenStack Swift project.

Glance, as with all OpenStack projects, is written with the following design guidelines in mind:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Y63UACgkQrlYvE4MpobNgZACdEm/Ijh8NDvfDGv6uqMwVJZnS ri0An1uBj0MyKYllp2xcAAC8SR4JvP+D
=x3Wd
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glance_base.patch
Url: http://oss.tresys.com/pipermail/refpolicy/attachments/20111202/6ed6b6b7/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glance.patch
Url: http://oss.tresys.com/pipermail/refpolicy/attachments/20111202/6ed6b6b7/attachment-0001.pl

#1 lore raw
Quoted 7 lines · Daniel J Walsh

Glance policy needs definition for glance_registry port.

The Glance project provides services for discovering, registering, and retrieving virtual machine images. Glance has a RESTful API that allows querying of VM image metadata as well as retrieval of the actual image.

Quoted 6 lines

VM images made available through Glance can be stored in a variety of locations from simple filesystems to object-storage systems like the OpenStack Swift project.

Glance, as with all OpenStack projects, is written with the following design guidelines in mind:

Some comments on your two domtrans interfaces:

Review

Quoted 11 lines
(quoted diff) +11 -0
+########################################
+## <summary>
+##	Transition to glance.
+## </summary>
+## <param name="domain">
+## <summary>
+##	Domain allowed to transition.
+## </summary>
+## </param>
+#
+interface(`glance_domtrans_registry',`

You might want to have the summary to something like "Transition to glance registry"

Same remark for the glance_domtrans_api one.

Other than that ok.