The solution as the PUT is seeing the 2 edge member_index is to redefine it as member_index[0].
at end of line 1450 after member_index
add [0]
member_index[0]
that's it
just to mention that it works with 2 edge but it can scale to the max of 10 edge nodes per cluster as configmax says or more since it's not a hard limit :)
everything is good code is rock solid :muscle:, adding VRF in mix would be great to test out dedicated network per Tanzu use case :grinning:
Hi William @lamw ,
Thank you so much for all the good work,
(Update) Just to document the error when adding a 2nd edge:
get log-file syslog
The API GET Error listing all member giving "Invalid edge path /infra/sites/.../edge-nodes/0 1 specified.": https://vdc-repo.vmware.com/vmwb-repository/dcr-public/f024be51-bdd3-4869-81fc-f2f2854b68e0/aba6aa9c-9e41-4950-b959-aaa7a0df387f/api_includes/method_ListEdgeNodesUnderEdgeClusterForEnforcementPoint.html
The API PUT Error creating an interface on T0 Gateway expecting only one edge node member_index / id: https://vdc-repo.vmware.com/vmwb-repository/dcr-public/f024be51-bdd3-4869-81fc-f2f2854b68e0/aba6aa9c-9e41-4950-b959-aaa7a0df387f/api_includes/policy_networking_connectivity_tier-0_gateways_interfaces_interfaces.html
The solution as the PUT is seeing the 2 edge member_index is to redefine it as member_index[0].
at end of line 1450 after member_index
add [0]
member_index[0]
that's it
just to mention that it works with 2 edge but it can scale to the max of 10 edge nodes per cluster as configmax says or more since it's not a hard limit :)
everything is good code is rock solid :muscle:, adding VRF in mix would be great to test out dedicated network per Tanzu use case :grinning:
Cheers
Abbed strivevirtually.net