Skip to content

Commit

Permalink
Merge branch 'main' into gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
dhavalpopat committed Mar 12, 2024
2 parents fd95192 + b607d0f commit 5510136
Show file tree
Hide file tree
Showing 13 changed files with 937 additions and 293 deletions.
4 changes: 4 additions & 0 deletions common/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const (
LBContributorRoleName = "LBContributor"
// Network Interface Contributor Role - has permissions to run any operation on network interfaces
NIContributorRoleName = "NetworkInterfaceContributor"
// Network Security Group Contributor Role - has permissions to run any operation on network security groups
NSGContributorRoleName = "NetworkSecurityGroupContributor"
// VM Contributor Role - has permissions to run any operation on VMs
VMContributorRoleName = "VMContributor"
// VM Updater Role - has permissions to update VMs
Expand Down Expand Up @@ -91,6 +93,8 @@ const (
LBReaderRoleName = "LBReader"
// Network Interface Reader Role - has permissions to run read operations on network interfaces
NIReaderRoleName = "NetworkInterfaceReader"
// Network Security Group Reader Role - has permissions to run read operations on network security groups
NSGReaderRoleName = "NetworkSecurityGroupReader"
// VM Reader Role - has permissions to run read operations on VMs
VMReaderRoleName = "VMReader"
// VirtualMachineImage Reader Role - has permissions to run read operations on VirtualMachineImages
Expand Down
1 change: 1 addition & 0 deletions pkg/validations/proxy_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func Test_TestProxyUrlConnection(t *testing.T) {
// Invalid hostname
err = TestProxyUrlConnection(parsedUrl, caCertString, "")
expectedResult := "Get \"https://mcr.microsoft.com\": proxyconnect tcp: dial tcp: lookup w3proxy.netscape.com: no such host: Invalid Input"

if err.Error() != expectedResult {
t.Fatalf("Test_TestProxyUrlConnection test case failed. Expected error %s but got %s", expectedResult, err.Error())
}
Expand Down
113 changes: 61 additions & 52 deletions rpc/cloudagent/network/moc_cloudagent_networkinterface.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5510136

Please sign in to comment.