-
Notifications
You must be signed in to change notification settings - Fork 4
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
US25987 load balancer and its configuration #46
Conversation
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.
are these auto-generated via swagger or hand written
pkg/client/api.go
Outdated
@@ -50,6 +50,8 @@ func (a *api) do(ctx context.Context, request interface{}, queryParams map[strin | |||
panic("api not properly configured") | |||
} | |||
a.path = fmt.Sprintf("%s/%s/%s", a.client.getHost(), consts.VmaasCmpAPIBasePath, a.path) | |||
// a.path = fmt.Sprintf("%s/%s", a.client.getHost(), a.path) |
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.
nit
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
pkg/client/instances_test.go
Outdated
@@ -64,7 +64,7 @@ func TestInstancesAPIService_CloneAnInstance(t *testing.T) { | |||
Name: "Instance_Clone", | |||
} | |||
// pBody := []byte(`{"zoneId":"1","CloneName":"Instance_Clone"}`) | |||
m.EXPECT().getVersion().Return(999999) | |||
m.EXPECT().getVersion().Return(999999).AnyTimes() |
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.
why cant it be specific times??
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
pkg/common/constants.go
Outdated
VirtualImagePath = "virtual-images" | ||
FolderPath = "folders" | ||
ConfigOptionPath = "config-options" | ||
PowerSchedulPath = "power-schedules" |
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.
typo
ProvisionTypesPath = "provision-types" | ||
RouterRoutePath = "routes" | ||
RouterBgpNeighborPath = "bgp-neighbors" | ||
NetworkEdgeClusterPath = "edge-clusters" | ||
|
||
WhoamiPath = "whoami" |
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.
to maintain consistency over the convention in the file, please add a comment over whoami path
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
hand written |
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.
Approving assuming that these changes are validated in the developer's environment.
@Pushpalatha555, please run the ci-suite locally and confirm no issues.
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.
LGTM
No description provided.