-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add infra_ipv6
attribute to devices
#297
base: develop
Are you sure you want to change the base?
Commits on Mar 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b91164c - Browse repository at this point
Copy the full SHA b91164cView commit details -
Accept ipv6_gw argument in mgmtdomain APIs
Valid IPv6 interface addresses must be accepted by the mgmtdomain API endpoints. Additionally, an mgmtdomain can be either IPv4, IPv6 or both, meaning that there are now multiple sets of minimally required attributes to post to the endpoint. This should ensure backwards compatibility with API clients that only support ipv4_gw
Configuration menu - View commit details
-
Copy full SHA for d1a545d - Browse repository at this point
Copy the full SHA d1a545dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce1d4c3 - Browse repository at this point
Copy the full SHA ce1d4c3View commit details -
Add IPv6 to Mgmtdomain.find_free_mgmt_ip
The new version of this function can take the optional version argument to select whether to get an address from the IPv4 or the IPv6 network of the mgmtdomain.
Configuration menu - View commit details
-
Copy full SHA for 4d88567 - Browse repository at this point
Copy the full SHA 4d88567View commit details -
Add new mgmtdomain_primary_ip_version api setting
This config setting will be used to choose which IP address version is preferred as the primary management address of a device in a dual-stack management domain.
Configuration menu - View commit details
-
Copy full SHA for d2f59b3 - Browse repository at this point
Copy the full SHA d2f59b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d3a000 - Browse repository at this point
Copy the full SHA 7d3a000View commit details -
Add secondary_management_ip to Device
This allows (but does not require) devices to be configured with dual-stack management (even though CNaaS-NMS will continue to use the primary management address).
Configuration menu - View commit details
-
Copy full SHA for fd8c026 - Browse repository at this point
Copy the full SHA fd8c026View commit details -
Assign secondary mgmt IPs in access device init
This updates init_access_device_step1 to fetch, reserv and assign secondary management IPs from any dual-stack Mgmtdomain.
Configuration menu - View commit details
-
Copy full SHA for 1a69c5a - Browse repository at this point
Copy the full SHA 1a69c5aView commit details -
Add extra variables for secondary mgmt addr
Prefix length and mgmt_gw should be available variables also for the secondary management address.
Configuration menu - View commit details
-
Copy full SHA for fada077 - Browse repository at this point
Copy the full SHA fada077View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c3ccd5 - Browse repository at this point
Copy the full SHA 6c3ccd5View commit details -
Include vars for secondary addrs on ACCESS devices
This repeats a lot of what `init_access_device_step1` does. Not sure why there is an overlap, but I'm not going to change it without being sure.
Configuration menu - View commit details
-
Copy full SHA for ade0aab - Browse repository at this point
Copy the full SHA ade0aabView commit details -
Accept secondary_management_ip in device PUT
This also refactors redundant IP field value validation code. The logic for all IP addr fields is the same, so no need for duplication.
Configuration menu - View commit details
-
Copy full SHA for 5e323f6 - Browse repository at this point
Copy the full SHA 5e323f6View commit details -
Add infra_ipv6 field to Device
This field is required for installations that want to run IPv6 directly on the underlay.
Configuration menu - View commit details
-
Copy full SHA for 5b52dbc - Browse repository at this point
Copy the full SHA 5b52dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for adb375a - Browse repository at this point
Copy the full SHA adb375aView commit details -
Validate incoming infra_ipv6 values in API
Since this field is explicitly IPv6-only, it needs a separate check from the other IPv6 fields.
Configuration menu - View commit details
-
Copy full SHA for 8bf8078 - Browse repository at this point
Copy the full SHA 8bf8078View commit details