Andy Bavier | 2968291 | 2017-01-24 10:28:58 -0500 | [diff] [blame] | 1 | - name: Ensure no host entry for fabric interface |
| 2 | uri: |
| 3 | url: http://10.1.0.1:8181/onos/v1/hosts/{{ ansible_fabric.macaddress | replace(":", "%3A") }}/None |
| 4 | method: DELETE |
| 5 | user: onos |
| 6 | password: rocks |
| 7 | ignore_errors: true |
| 8 | |
| 9 | - name: Check that br-int exists |
| 10 | command: ifconfig br-int |
| 11 | changed_when: false |
| 12 | tags: |
| 13 | - skip_ansible_lint # running a sub job |
| 14 | |
| 15 | # Needed for CPqD switch |
| 16 | - name: Turn off TCP checksum offload on fabric interface |
| 17 | become: yes |
| 18 | command: ethtool -K fabric tx off |
| 19 | changed_when: false |
| 20 | tags: |
| 21 | - skip_ansible_lint # running a sub job |
| 22 | |
| 23 | - name: Send ping on fabric, expected to fail b/c fabric not set up |
| 24 | command: ping -I br-int -c 3 10.6.1.254 |
| 25 | ignore_errors: true |
| 26 | changed_when: false |
| 27 | tags: |
| 28 | - skip_ansible_lint # running a sub job |