~ubuntu-branches/ubuntu/trusty/quantum/trusty

« back to all changes in this revision

Viewing changes to quantum/agent/linux/iptables_manager.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2012-11-23 09:43:14 UTC
  • mfrom: (2.1.16)
  • Revision ID: package-import@ubuntu.com-20121123094314-e1tqsulrwe21b9aq
Tags: 2013.1~g1-0ubuntu1
[ Adam Gandelman ]
* debian/patches/*: Refreshed for opening of Grizzly.

[ Chuck Short ]
* New upstream release.
* debian/rules: FTFBS if there is missing binaries.
* debian/quantum-server.install: Add quantum-debug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
"""Implements iptables rules using linux utilities."""
23
23
 
24
24
import inspect
25
 
import logging
26
25
import os
27
26
 
28
27
from quantum.agent.linux import utils
 
28
from quantum.openstack.common import log as logging
29
29
 
30
30
LOG = logging.getLogger(__name__)
31
31
# NOTE(vish): Iptables supports chain names of up to 28 characters,  and we
269
269
        rules. This happens atomically, thanks to iptables-restore.
270
270
 
271
271
        """
272
 
        s = [('/sbin/iptables', self.ipv4)]
 
272
        s = [('iptables', self.ipv4)]
273
273
        if self.use_ipv6:
274
274
            s += [('ip6tables', self.ipv6)]
275
275