Ipsec Policies for Virtual Network Gateway Connection#2943
Conversation
Added virtual network gateway connection tests for ipsec policies Added VirtualNetworkGatewayConnection Ipsec Policies Test record Test Cases updated to use field names Connection Ipsec Policies Test session data Ipsec policies Test added for virtual network gateway connections
…icies added compared to previous swagger)
|
Can one of the admins verify this patch? |
|
@henry416, |
|
@cormacpayne Hi, is this waiting on the spec to be merged for the CR to proceed? |
|
@henry416 Hey Henry, we are waiting for the spec to be merged in order to continue with the review. This ensures that all changes with the generated code are finalized, and we don't have to keep updating the review based on changes to the rest-api-specs PR |
|
@azuresdkci add to whitelist |
|
@cormacpayne OK. However can you clarify if what I have submitted for test records is sufficient? |
|
@henry416 test coverage looks good to me 👍 |
|
@azuresdkci test this please |
|
@cormacpayne Is the current checked-in build stable? |
|
@cormacpayne rest specs have been merged, this PR can proceed |
cormacpayne
left a comment
There was a problem hiding this comment.
@henry416 Hey Henry, just a few comments that need clarification
|
|
||
| [assembly: AssemblyVersion("9.1.0.0")] | ||
| [assembly: AssemblyFileVersion("9.1.0.0")] | ||
| [assembly: AssemblyVersion("9.2.0.0")] |
There was a problem hiding this comment.
@henry416 you can set AssemblyVersion to 9.0.0 and keep AssemblyFileVersion at 9.2.0.
AssemblyFileVersion should always match the version found in project.json, and AssemblyVersion shares only the major version of the AssemblyFileVersion
| /// <param name="routeFilter">The reference of the RouteFilter | ||
| /// resource.</param> | ||
| public ExpressRouteCircuitPeering(string id = default(string), string peeringType = default(string), string state = default(string), int? azureASN = default(int?), int? peerASN = default(int?), string primaryPeerAddressPrefix = default(string), string secondaryPeerAddressPrefix = default(string), string primaryAzurePort = default(string), string secondaryAzurePort = default(string), string sharedKey = default(string), int? vlanId = default(int?), ExpressRouteCircuitPeeringConfig microsoftPeeringConfig = default(ExpressRouteCircuitPeeringConfig), ExpressRouteCircuitStats stats = default(ExpressRouteCircuitStats), string provisioningState = default(string), string gatewayManagerEtag = default(string), string lastModifiedBy = default(string), string name = default(string), string etag = default(string), RouteFilter routeFilter = default(RouteFilter)) | ||
| public ExpressRouteCircuitPeering(string id = default(string), string peeringType = default(string), string state = default(string), int? azureASN = default(int?), int? peerASN = default(int?), string primaryPeerAddressPrefix = default(string), string secondaryPeerAddressPrefix = default(string), string primaryAzurePort = default(string), string secondaryAzurePort = default(string), string sharedKey = default(string), int? vlanId = default(int?), ExpressRouteCircuitPeeringConfig microsoftPeeringConfig = default(ExpressRouteCircuitPeeringConfig), ExpressRouteCircuitStats stats = default(ExpressRouteCircuitStats), string provisioningState = default(string), string gatewayManagerEtag = default(string), string lastModifiedBy = default(string), RouteFilter routeFilter = default(RouteFilter), string name = default(string), string etag = default(string)) |
There was a problem hiding this comment.
@henry416 I thought the position of RouteFilter in the constructor was fixed in a previous swagger spec PR (so that it would be the last parameter). Do you know if this change was reverted?
There was a problem hiding this comment.
I never touched the expressroute specs - I will investigate this
| /// <param name="etag">Gets a unique read-only string that changes | ||
| /// whenever the resource is updated.</param> | ||
| public VirtualNetworkGateway(IList<VirtualNetworkGatewayIPConfiguration> ipConfigurations, string gatewayType, string vpnType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), bool? enableBgp = default(bool?), bool? activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string)) | ||
| public VirtualNetworkGateway(IList<VirtualNetworkGatewayIPConfiguration> ipConfigurations, string gatewayType, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string vpnType = default(string), bool? enableBgp = default(bool?), bool? activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string)) |
There was a problem hiding this comment.
@henry416 similar comment to that of RouteFilter. Was this position changed?
There was a problem hiding this comment.
@Nilambari has a change in the parameter waiting for PR
There was a problem hiding this comment.
|
@cormacpayne I have addressed the issues with the help of the teams that own those components + fixed the tests |
|
@cormacpayne Is there any other outstanding issue with this PR? |
|
@henry416 did you get the email I sent? There are multiple Network PRs that have been opened in this repository and they need to be coordinated so we are not publishing multiple packages in a short time frame. |
|
@cormacpayne can the merge proceed? |
|
@cormacpayne Is this still in review? Once this is done we can do a double merge (my changes into branch and then branch into AutoRest master) |
|
@henry416 Hey henry, could you maybe remove the files from your PR with no changes but a different EOF? |
|
@jobatzil EOF removed and merge conflict with network-changes branch resolved |
|
@cormacpayne I have resolved the merge issues, can this go through now? |
Description
REST spec here: Azure/azure-rest-api-specs#956
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
project.jsonandAssemblyInfo.csfiles have been updated with the new version of the SDK.