summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCNlukai <lukai1@huawei.com>2016-01-16 15:43:41 +0800
committerJustin chi <chigang@huawei.com>2016-01-18 15:01:45 +0000
commit1ce20dbbd36835c9faeb635964f36ee6004be257 (patch)
treef8c98360006315de8bedf38c4cf68aa2cc3ed547
parent3dd69439538ecb6bb1b00e682ac3ebba3f51bced (diff)
ONOSFW-152
Onos Intergrates with compass Change-Id: I17a1b35e52c2c5003b74f8bb79dcf117970fe7f9 Signed-off-by: CNlukai <lukai1@huawei.com> (cherry picked from commit 135f289728091450aba7b10f55013bd18d2f45d3)
-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