Skip to content

Commit

Permalink
MultipleApipa feature VpnSiteLinkConnection and VirtualNetworkGateway…
Browse files Browse the repository at this point in the history
…Connection (Azure#17672)

* VngConnection

* VpnSiteLinkConnection

* fixes

* fixes

* fix2

* fixes

Co-authored-by: Khushboo Baheti <khbaheti@microsoft.com>
  • Loading branch information
2 people authored and HappyTobi committed Feb 18, 2022
1 parent cbe1b57 commit 745dac6
Show file tree
Hide file tree
Showing 8 changed files with 122 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2"
}
],
"gatewayCustomBgpIpAddresses": [
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default",
"customBgpIpAddress": "169.254.21.1"
},
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive",
"customBgpIpAddress": "169.254.21.3"
}
],
"connectionType": "IPsec",
"connectionProtocol": "IKEv2",
"routingWeight": 0,
Expand Down Expand Up @@ -156,6 +166,16 @@
"dpdTimeoutSeconds": 30,
"sharedKey": "Abc123",
"enableBgp": false,
"gatewayCustomBgpIpAddresses": [
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default",
"customBgpIpAddress": "169.254.21.1"
},
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive",
"customBgpIpAddress": "169.254.21.3"
}
],
"useLocalAzureIpAddress": false,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@
"dpdTimeoutSeconds": 30,
"sharedKey": "Abc123",
"enableBgp": false,
"gatewayCustomBgpIpAddresses": [
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default",
"customBgpIpAddress": "169.254.21.1"
},
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive",
"customBgpIpAddress": "169.254.21.3"
}
],
"useLocalAzureIpAddress": false,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@
"routingWeight": 0,
"sharedKey": "temp1234",
"enableBgp": false,
"gatewayCustomBgpIpAddresses": [
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default",
"customBgpIpAddress": "169.254.21.1"
},
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive",
"customBgpIpAddress": "169.254.21.3"
}
],
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
"trafficSelectorPolicies": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@
"routingWeight": 0,
"dpdTimeoutSeconds": 30,
"enableBgp": false,
"gatewayCustomBgpIpAddresses": [
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default",
"customBgpIpAddress": "169.254.21.1"
},
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive",
"customBgpIpAddress": "169.254.21.3"
}
],
"useLocalAzureIpAddress": false,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
Expand Down Expand Up @@ -81,6 +91,16 @@
"routingWeight": 0,
"dpdTimeoutSeconds": 20,
"enableBgp": false,
"gatewayCustomBgpIpAddresses": [
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default",
"customBgpIpAddress": "169.254.21.4"
},
{
"ipConfigurationId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/ActiveActive",
"customBgpIpAddress": "169.254.21.6"
}
],
"useLocalAzureIpAddress": true,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0,
"enableBgp": false,
"vpnGatewayCustomBgpAddresses": [
{
"ipConfigurationId": "Instance0",
"customBgpIpAddress": "169.254.21.1"
},
{
"ipConfigurationId": "Instance1",
"customBgpIpAddress": "169.254.21.3"
}
],
"enableRateLimiting": false,
"useLocalAzureIpAddress": false,
"usePolicyBasedTrafficSelectors": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0,
"enableBgp": false,
"vpnGatewayCustomBgpAddresses": [
{
"ipConfigurationId": "Instance0",
"customBgpIpAddress": "169.254.21.1"
},
{
"ipConfigurationId": "Instance1",
"customBgpIpAddress": "169.254.21.3"
}
],
"enableRateLimiting": false,
"useLocalAzureIpAddress": false,
"usePolicyBasedTrafficSelectors": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3449,6 +3449,14 @@
"type": "boolean",
"description": "EnableBgp flag."
},
"gatewayCustomBgpIpAddresses": {
"type": "array",
"items": {
"$ref": "#/definitions/GatewayCustomBgpIpAddressIpConfiguration"
},
"description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.",
"x-ms-identifiers": []
},
"useLocalAzureIpAddress": {
"type": "boolean",
"description": "Use private local Azure IP for the connection."
Expand Down Expand Up @@ -3852,6 +3860,14 @@
"type": "boolean",
"description": "EnableBgp flag."
},
"gatewayCustomBgpIpAddresses": {
"type": "array",
"items": {
"$ref": "#/definitions/GatewayCustomBgpIpAddressIpConfiguration"
},
"description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.",
"x-ms-identifiers": []
},
"usePolicyBasedTrafficSelectors": {
"type": "boolean",
"description": "Enable policy-based traffic selectors."
Expand Down Expand Up @@ -4227,6 +4243,24 @@
}
},
"description": "Properties of IPConfigurationBgpPeeringAddress."
},
"GatewayCustomBgpIpAddressIpConfiguration": {
"type": "object",
"properties": {
"ipConfigurationId": {
"type": "string",
"description": "The IpconfigurationId of ipconfiguration which belongs to gateway."
},
"customBgpIpAddress": {
"type": "string",
"description": "The custom BgpPeeringAddress which belongs to IpconfigurationId."
}
},
"required": [
"ipConfigurationId",
"customBgpIpAddress"
],
"description": "GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6828,6 +6828,14 @@
"type": "boolean",
"description": "EnableBgp flag."
},
"vpnGatewayCustomBgpAddresses": {
"type": "array",
"items": {
"$ref": "./virtualNetworkGateway.json#/definitions/GatewayCustomBgpIpAddressIpConfiguration"
},
"description": "vpnGatewayCustomBgpAddresses used by this connection.",
"x-ms-identifiers": []
},
"usePolicyBasedTrafficSelectors": {
"type": "boolean",
"description": "Enable policy-based traffic selectors."
Expand Down

0 comments on commit 745dac6

Please sign in to comment.