diff options
| author | Cory Wright <cory.wright@rackspace.com> | 2011-05-13 21:05:12 +0000 |
|---|---|---|
| committer | Cory Wright <cory.wright@rackspace.com> | 2011-05-13 21:05:12 +0000 |
| commit | fd2861fdcdae0d7a3f13dac7b54d4d8f106f2b3e (patch) | |
| tree | 30f77ab78712f42f7e56ee7772e11eafb9a2e1e0 /plugins | |
| parent | 7df7b9ea88a33c24d051b1298ede183a7a84da0e (diff) | |
| download | nova-fd2861fdcdae0d7a3f13dac7b54d4d8f106f2b3e.tar.gz nova-fd2861fdcdae0d7a3f13dac7b54d4d8f106f2b3e.tar.xz nova-fd2861fdcdae0d7a3f13dac7b54d4d8f106f2b3e.zip | |
fix sys.argv requirement
Diffstat (limited to 'plugins')
| -rwxr-xr-x | plugins/xenserver/networking/etc/xensource/scripts/ovs_configure_vif_flows.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xenserver/networking/etc/xensource/scripts/ovs_configure_vif_flows.py b/plugins/xenserver/networking/etc/xensource/scripts/ovs_configure_vif_flows.py index 95a944a2b..2ebc4dd8c 100755 --- a/plugins/xenserver/networking/etc/xensource/scripts/ovs_configure_vif_flows.py +++ b/plugins/xenserver/networking/etc/xensource/scripts/ovs_configure_vif_flows.py @@ -171,7 +171,7 @@ def apply_ovs_ipv6_flows(ovs, bridge, params): if __name__ == "__main__": - if len(sys.argv) < 3: + if len(sys.argv) != 4: print "usage: %s [online|offline] vif-domid-idx ipv4|ipv6|all " % \ os.path.basename(sys.argv[0]) sys.exit(1) |
