Skip to content

Conversation

@saichint
Copy link

@saichint saichint commented Sep 25, 2018

When the interface defaults were defined, there are few issues creeped in.

  1. couple of typos
  2. test issues where the interface needs to be put in switchport_mode for the corresponding properties to test.

@saichint saichint changed the title [WIP] fix vpc_peer_link Fix interface default issues Sep 25, 2018
@saichint saichint requested a review from mikewiebe September 25, 2018 20:58
default_shutdown: true,
switchport: :disabled,
default_switchport: :disabled,
access_vlan: DEFAULT_IF_ACCESS_VLAN,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you removing these?

Copy link
Author

Choose a reason for hiding this comment

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

For loopback and vlan interfaces, access_vlan is not an option. For ethernet and port-channel it is available if the switchport mode is turned on.

@mikewiebe
Copy link
Contributor

@saichint One comment, otherwise 👍

@mikewiebe
Copy link
Contributor

mikewiebe commented Sep 26, 2018

@saichint Please add a note indicating which platforms/image versions you tested.

@saichint
Copy link
Author

saichint commented Sep 26, 2018

Tested on n9k running 9.2.1 image and on n7k running 8.3.1 image

@mikewiebe mikewiebe merged commit 0dcb2b9 into develop Sep 26, 2018
@saichint saichint deleted the vpc branch September 26, 2018 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants