aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCNlukai <lukai1@huawei.com>2016-01-16 15:43:41 +0800
committerCNlukai <lukai1@huawei.com>2016-01-16 15:44:27 +0800
commit135f289728091450aba7b10f55013bd18d2f45d3 (patch)
tree3d683527eac95433ee5e4108b53f9ccb28ac4279
parent717887c33a1abdb47bf4cf1e927c7a8b02fd63bd (diff)
ONOSFW-152
Onos Intergrates with compass Change-Id: I17a1b35e52c2c5003b74f8bb79dcf117970fe7f9 Signed-off-by: CNlukai <lukai1@huawei.com>
-rwxr-xr-xdeploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml b/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml
index ce73bce2..0e7c0eb6 100755
--- a/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml
+++ b/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml
@@ -40,7 +40,7 @@
- name: set veth to ovs
shell: >
- externamMac = `ifconfig eth1 | grep "HWaddr" | awk '{print $5}'`;
+ export externamMac=`ifconfig eth1 | grep "HWaddr" | awk '{print $5}'`;
ifconfig onos_port2 hw ether $externamMac;
ovs-vsctl add-port br-prv onos_port1;
ignore_errors: True