diff options
author | KingPoo <haojingbo@huawei.com> | 2016-11-14 02:16:24 -0500 |
---|---|---|
committer | Justin chi <chigang@huawei.com> | 2016-11-15 03:20:08 +0000 |
commit | b15421ac53b8f57011613e29505cd8c0275b5066 (patch) | |
tree | 8ca3717d0f38c8ae7d19062b0f08f9b41b865f29 /deploy/setup_vnic.py | |
parent | a099404ead9151b529de1e1e960cac6e67937ad0 (diff) |
Repair Flake8's warnings & errors
Change-Id: I67e71bc37c0464a0714e1e59b3402973786e4aa6
Signed-off-by: KingPoo <haojingbo@huawei.com>
Diffstat (limited to 'deploy/setup_vnic.py')
-rw-r--r-- | deploy/setup_vnic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/setup_vnic.py b/deploy/setup_vnic.py index e7ab0cc0..12846fd9 100644 --- a/deploy/setup_vnic.py +++ b/deploy/setup_vnic.py @@ -6,7 +6,7 @@ if __name__ == "__main__": network_config_file = os.environ["NETWORK"] network_config = yaml.load(open(network_config_file, "r")) os.system( - "sudo ovs-vsctl --may-exist add-port br-external mgmt_vnic -- set Interface mgmt_vnic type=internal") + "sudo ovs-vsctl --may-exist add-port br-external mgmt_vnic -- set Interface mgmt_vnic type=internal") # noqa os.system("sudo ip addr flush mgmt_vnic") os.system("sudo ip link set mgmt_vnic up") for sys_intf in network_config["sys_intf_mappings"]: |