Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed mock example cmd

  • Loading branch information...
commit 8e89b4e53f95488d80e8ad7cfa61c1f58d36a885 1 parent dc2eeb9
Jian Wen authored April 16, 2012
6  kanyun/worker/plugin_traffic_accounting.py
@@ -31,9 +31,9 @@
31 31
      On compute node:
32 32
       iptables -t filter -N nova-compute-f-inst-$instance_id
33 33
       iptables -I FORWARD -s $instance_ip -j nova-compute-f-inst-$instance_id
34  
-      iptables -A nova-compute-f-inst-$instance_id -o $public_interface -s \
35  
-                        $instance_ip -m comment \
36  
-                        --comment " $instance_id $instance_ip accounting rule "
  34
+      iptables -A nova-compute-f-inst-$instance_id -o $public_interface \
  35
+                     -m comment \
  36
+                     --comment " $instance_id $instance_ip accounting rule "
37 37
 
38 38
       iptables -t filter -N nova-compute-f-inst-112
39 39
       iptables -I FORWARD -s 10.0.0.3 -j nova-compute-f-inst-112

0 notes on commit 8e89b4e

Please sign in to comment.
Something went wrong with that request. Please try again.