-
Notifications
You must be signed in to change notification settings - Fork 22
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
Conversation
netman/api/objects/base_interface.py
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
foce_up => force_up
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
No description provided.