| shell: ifconfig ma1 | grep HWaddr | awk '{ print "0x0000"$5 }' | sed s/://g |
| - name: Ensure ofdpa Config |
| switch_id: "{{ dpid.stdout }}" |
| controller_ip: "onos-fabric" |
| - name: Verify Openflow Agent |
| shell: which ofdpa | wc -w |
| - name: Openflow Agent Version |
| when: ofdpa_exists.stdout != "0" |
| # Note: This is the version number of OFDPA 3.0 EA0 |
| - name: Version 2.0.4.0 Openflow Agent |
| when: ofdpa_exists.stdout == "0" or ofdpa_version.stdout.find('version 2.0.4.0') == -1 |
| - name: Utilities Scripts |
| - name: Authorize SSH Key |