diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-04-24 07:34:36 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-04-24 07:34:36 +0000 |
| commit | f05841caf3dbf7e659b55513f07e9837b1cf22f6 (patch) | |
| tree | be62a01d49653db69bea70c7f8024686802244e3 | |
| parent | b916b06f1059611a1f7ecfa6781e1d27036d053e (diff) | |
| parent | b22f17cd09c8fa0447503b7a5a84477d0a943d18 (diff) | |
Merge "Logging updates in IptablesFirewallDriver."
| -rw-r--r-- | nova/virt/firewall.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nova/virt/firewall.py b/nova/virt/firewall.py index 3f5333427..af13a5817 100644 --- a/nova/virt/firewall.py +++ b/nova/virt/firewall.py @@ -313,7 +313,7 @@ class IptablesFirewallDriver(FirewallDriver): elif protocol == 'icmp': args += self._build_icmp_rule(rule, version) if rule.cidr: - LOG.info('Using cidr %r', rule.cidr) + LOG.debug('Using cidr %r', rule.cidr) args += ['-s', rule.cidr] fw_rules += [' '.join(args)] else: @@ -326,7 +326,7 @@ class IptablesFirewallDriver(FirewallDriver): import nova.network nw_api = nova.network.API() for instance in rule['grantee_group']['instances']: - LOG.info('instance: %r', instance) + LOG.debug('instance: %r', instance) nw_info = nw_api.get_instance_nw_info(ctxt, instance) @@ -334,12 +334,12 @@ class IptablesFirewallDriver(FirewallDriver): for ip in nw_info.fixed_ips() if ip['version'] == version] - LOG.info('ips: %r', ips) + LOG.debug('ips: %r', ips) for ip in ips: subrule = args + ['-s %s' % ip] fw_rules += [' '.join(subrule)] - LOG.info('Using fw_rules: %r', fw_rules) + LOG.debug('Using fw_rules: %r', fw_rules) ipv4_rules += ['-j $sg-fallback'] ipv6_rules += ['-j $sg-fallback'] |
