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

US25987 load balancer and its configuration #46

Merged
merged 12 commits into from
Jun 7, 2022
Merged

US25987 load balancer and its configuration #46

merged 12 commits into from
Jun 7, 2022

Conversation

Pushpalatha555
Copy link
Collaborator

No description provided.

@reubenur-rahman reubenur-rahman changed the title load balancer and its configuration US25987 load balancer and its configuration May 30, 2022
Copy link
Contributor

@gandharvas gandharvas left a 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

@@ -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)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@@ -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()
Copy link
Contributor

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??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

VirtualImagePath = "virtual-images"
FolderPath = "folders"
ConfigOptionPath = "config-options"
PowerSchedulPath = "power-schedules"
Copy link
Contributor

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"
Copy link
Contributor

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@Pushpalatha555
Copy link
Collaborator Author

are these auto-generated via swagger or hand written

hand written

gandharvas
gandharvas previously approved these changes Jun 7, 2022
Copy link
Contributor

@gandharvas gandharvas left a 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.

Copy link
Contributor

@gandharvas gandharvas left a comment

Choose a reason for hiding this comment

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

LGTM

@gandharvas gandharvas merged commit 4fd94d7 into HewlettPackard:master Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants