diff options
| author | Cory Wright <cory.wright@rackspace.com> | 2011-03-28 21:00:44 +0000 |
|---|---|---|
| committer | Cory Wright <cory.wright@rackspace.com> | 2011-03-28 21:00:44 +0000 |
| commit | ab1bf7c0c12e205cd17b80be31226055cc90ef20 (patch) | |
| tree | 983e168d5ff16b0f3d9f4fc4dd06c210e1e8ba1f /plugins | |
| parent | f841cff4ad993230b3a7ab4c1786bb788f6bd891 (diff) | |
| download | nova-ab1bf7c0c12e205cd17b80be31226055cc90ef20.tar.gz nova-ab1bf7c0c12e205cd17b80be31226055cc90ef20.tar.xz nova-ab1bf7c0c12e205cd17b80be31226055cc90ef20.zip | |
minor fix and comment
Diffstat (limited to 'plugins')
| -rwxr-xr-x | plugins/xenserver/networking/etc/xensource/scripts/ovs_configure_vif_flows.py | 3 |
1 files changed, 2 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 a77bbbf4b..553811ab6 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 @@ -59,10 +59,11 @@ class OvsFlow(): def apply(self, rule): self.delete(rule % self.params) if self.command == 'online': - self.add(rule % params) + self.add(rule % self.params) def main(dom_id, command, net, only_this_vif=None): + # FIXME(dubs) what to do when only_this_vif is None vif_ofport = execute('/usr/bin/ovs-ofctl', 'get', 'Interface', only_this_vif, 'ofport', return_stdout=True) |
