Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vyos_interface require multiple network nodes to run #39670

Merged
merged 4 commits into from
May 3, 2018

Conversation

gundalow
Copy link
Contributor

@gundalow gundalow commented May 3, 2018

SUMMARY

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

#39667 tracks getting these
enabled again

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

vyos_interface

ANSIBLE VERSION
2.5

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

ansible#39667 tracks getting these
enabled again
@ansibot
Copy link
Contributor

ansibot commented May 3, 2018

@ansibot ansibot added bug This issue/PR relates to a bug. needs_triage Needs a first human triage before being processed. support:network This issue/PR relates to code supported by the Ansible Network Team. test This PR relates to tests. labels May 3, 2018
@gundalow gundalow removed the needs_triage Needs a first human triage before being processed. label May 3, 2018
@gundalow gundalow requested a review from ganeshrn May 3, 2018 11:24
vyos_command:
commands:
- lsmod
register: lsmod_out
- show lldp neighbors
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be - show lldp neighbors detail


- name: Should we run lldp tests?
set_fact:
run_lldp_tests: "'Gi0/0' in neighbors_out.stdout[0]"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run_lldp_tests: "'PortDescr: eth0' in neighbors_out.stdout[0]"

@@ -28,14 +51,14 @@
vyos_interface:
name: eth0
neighbors:
- port: eth0
when: "'virtio_net' not in lsmod_out.stdout[0]"
- port: Gi0/0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- port: eth0

@@ -108,30 +131,30 @@
aggregate:
- name: eth0
neighbors:
- port: eth0
when: "'virtio_net' not in lsmod_out.stdout[0]"
- port: Gi0/0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- port: eth0


- name: Check lldp neighbors intent aggregate arguments (failed)
vyos_interface:
aggregate:
- name: eth0
neighbors:
- port: eth0
- port: Gi0/0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- port: eth0

@gundalow gundalow merged commit 923a81e into ansible:devel May 3, 2018
@gundalow gundalow deleted the vyos_lldp branch May 3, 2018 17:50
gundalow added a commit to gundalow/ansible that referenced this pull request May 3, 2018
* vyos_interface require multiple network nodes to run

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

ansible#39667 tracks getting these
enabled again

* eth0 -> Gi0/0

* Correctly detect if we should run lldp

* Correctly detect if we should run lldp

(cherry picked from commit 923a81e)
gundalow added a commit that referenced this pull request May 3, 2018
* vyos_interface require multiple network nodes to run

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

#39667 tracks getting these
enabled again

* eth0 -> Gi0/0

* Correctly detect if we should run lldp

* Correctly detect if we should run lldp

(cherry picked from commit 923a81e)
oolongbrothers pushed a commit to oolongbrothers/ansible that referenced this pull request May 12, 2018
* vyos_interface require multiple network nodes to run

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

ansible#39667 tracks getting these
enabled again

* eth0 -> Gi0/0

* Correctly detect if we should run lldp

* Correctly detect if we should run lldp
oolongbrothers pushed a commit to oolongbrothers/ansible that referenced this pull request May 14, 2018
* vyos_interface require multiple network nodes to run

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

ansible#39667 tracks getting these
enabled again

* eth0 -> Gi0/0

* Correctly detect if we should run lldp

* Correctly detect if we should run lldp
oolongbrothers pushed a commit to oolongbrothers/ansible that referenced this pull request May 14, 2018
* vyos_interface require multiple network nodes to run

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

ansible#39667 tracks getting these
enabled again

* eth0 -> Gi0/0

* Correctly detect if we should run lldp

* Correctly detect if we should run lldp
tonal pushed a commit to tonal/ansible that referenced this pull request May 15, 2018
* vyos_interface require multiple network nodes to run

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

ansible#39667 tracks getting these
enabled again

* eth0 -> Gi0/0

* Correctly detect if we should run lldp

* Correctly detect if we should run lldp
oolongbrothers pushed a commit to oolongbrothers/ansible that referenced this pull request May 15, 2018
* vyos_interface require multiple network nodes to run

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

ansible#39667 tracks getting these
enabled again

* eth0 -> Gi0/0

* Correctly detect if we should run lldp

* Correctly detect if we should run lldp
oolongbrothers pushed a commit to oolongbrothers/ansible that referenced this pull request May 15, 2018
* vyos_interface require multiple network nodes to run

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

ansible#39667 tracks getting these
enabled again

* eth0 -> Gi0/0

* Correctly detect if we should run lldp

* Correctly detect if we should run lldp
ilicmilan pushed a commit to ilicmilan/ansible that referenced this pull request Nov 7, 2018
* vyos_interface require multiple network nodes to run

We don't have the ability to run these currently, so disable them.
The original logic was also incorrect, the tests don't pass on lab, DCI
nor single instance nodepool, so disable

ansible#39667 tracks getting these
enabled again

* eth0 -> Gi0/0

* Correctly detect if we should run lldp

* Correctly detect if we should run lldp
@ansible ansible locked and limited conversation to collaborators May 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug. support:network This issue/PR relates to code supported by the Ansible Network Team. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants