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

support lacp force up in juniper switches #261

Merged
merged 7 commits into from
May 25, 2022

Conversation

vilnitsky
Copy link
Contributor

No description provided.

@@ -43,7 +43,8 @@ def to_api(self, base_interface):
access_vlan=base_interface.access_vlan,
trunk_native_vlan=base_interface.trunk_native_vlan,
trunk_vlans=sorted(base_interface.trunk_vlans),
mtu=base_interface.mtu
mtu=base_interface.mtu,
foce_up=base_interface.force_up
Copy link
Contributor

Choose a reason for hiding this comment

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

foce_up => force_up

Copy link
Contributor

Choose a reason for hiding this comment

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

this should probably be added to
netman/api/objects/interface.py
rather, to keep the serializer with the similar properties (auto_negotiation, bond_master)

don't forget to patch the to_core method too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@vilnitsky vilnitsky requested a review from fbouliane May 13, 2022 13:43
@fbouliane fbouliane merged commit a886479 into internap:master May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants