~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to etc/nova/rootwrap.d/api-metadata.filters

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-08-16 14:04:11 UTC
  • mto: This revision was merged to the branch mainline in revision 84.
  • Revision ID: package-import@ubuntu.com-20120816140411-0mr4n241wmk30t9l
Tags: upstream-2012.2~f3
ImportĀ upstreamĀ versionĀ 2012.2~f3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# nova-rootwrap command filters for api-metadata nodes
 
2
# This is needed on nova-api hosts running with "metadata" in enabled_apis
 
3
# or when running nova-api-metadata
 
4
# This file should be owned by (and only-writeable by) the root user
 
5
 
 
6
[Filters]
 
7
# nova/network/linux_net.py: 'ip[6]tables-save' % (cmd, '-t', ...
 
8
iptables-save: CommandFilter, /sbin/iptables-save, root
 
9
iptables-save_usr: CommandFilter, /usr/sbin/iptables-save, root
 
10
ip6tables-save: CommandFilter, /sbin/ip6tables-save, root
 
11
ip6tables-save_usr: CommandFilter, /usr/sbin/ip6tables-save, root
 
12
 
 
13
# nova/network/linux_net.py: 'ip[6]tables-restore' % (cmd,)
 
14
iptables-restore: CommandFilter, /sbin/iptables-restore, root
 
15
iptables-restore_usr: CommandFilter, /usr/sbin/iptables-restore, root
 
16
ip6tables-restore: CommandFilter, /sbin/ip6tables-restore, root
 
17
ip6tables-restore_usr: CommandFilter, /usr/sbin/ip6tables-restore, root