Skip to content

Commit

Permalink
Reverting the changed made for the address space update in peered vNe…
Browse files Browse the repository at this point in the history
…ts. PR: 11090 (Azure#11731)

Co-authored-by: Hari Prasad Perabattula <haperaba@microsoft.com>
  • Loading branch information
2 people authored and giromm2ms committed Dec 20, 2020
1 parent 0fe4e6b commit 35525d9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 61 deletions.
1 change: 0 additions & 1 deletion custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1863,7 +1863,6 @@ Unregistering
Unregisters
unrestorable
unsubstituted
Unsynced
untagged
Untracked
unvalidated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"allowForwardedTraffic": true,
"allowGatewayTransit": false,
"useRemoteGateways": false,
"syncRemoteAddressSpace": true,
"remoteVirtualNetwork": {
"id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2"
}
Expand All @@ -36,18 +35,12 @@
"12.0.0.0/8"
]
},
"remoteVirtualNetworkAddressSpace": {
"addressPrefixes": [
"12.0.0.0/8"
]
},
"remoteBgpCommunities": {
"virtualNetworkCommunity": "12076:20002",
"regionalCommunity": "12076:50004"
},
"peeringState": "Initiated",
"provisioningState": "Succeeded",
"peeringSyncLevel": "FullySynced"
"provisioningState": "Succeeded"
}
}
},
Expand All @@ -68,18 +61,12 @@
"12.0.0.0/8"
]
},
"remoteVirtualNetworkAddressSpace": {
"addressPrefixes": [
"12.0.0.0/8"
]
},
"remoteBgpCommunities": {
"virtualNetworkCommunity": "12076:20002",
"regionalCommunity": "12076:50004"
},
"peeringState": "Initiated",
"provisioningState": "Succeeded",
"peeringSyncLevel": "FullySynced"
"provisioningState": "Succeeded"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,12 @@
"12.0.0.0/8"
]
},
"remoteVirtualNetworkAddressSpace": {
"addressPrefixes": [
"12.0.0.0/8"
]
},
"remoteBgpCommunities": {
"virtualNetworkCommunity": "12076:20002",
"regionalCommunity": "12076:50004"
},
"peeringState": "Initiated",
"provisioningState": "Succeeded",
"peeringSyncLevel": "FullySynced"
"provisioningState": "Succeeded"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,12 @@
"12.0.0.0/8"
]
},
"remoteVirtualNetworkAddressSpace": {
"addressPrefixes": [
"12.0.0.0/8"
]
},
"remoteBgpCommunities": {
"virtualNetworkCommunity": "12076:20002",
"regionalCommunity": "12076:50004"
},
"peeringState": "Initiated",
"provisioningState": "Succeeded",
"peeringSyncLevel": "FullySynced"
"provisioningState": "Succeeded"
}
},
{
Expand All @@ -55,18 +49,12 @@
"13.0.0.0/8"
]
},
"remoteVirtualNetworkAddressSpace": {
"addressPrefixes": [
"13.0.0.0/8"
]
},
"remoteBgpCommunities": {
"virtualNetworkCommunity": "12076:20003",
"regionalCommunity": "12076:50004"
},
"peeringState": "Initiated",
"provisioningState": "Succeeded",
"peeringSyncLevel": "FullySynced"
"provisioningState": "Succeeded"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1550,11 +1550,7 @@
},
"remoteAddressSpace": {
"$ref": "#/definitions/AddressSpace",
"description": "The reference to the address space peered with the remote virtual network."
},
"remoteVirtualNetworkAddressSpace": {
"$ref": "#/definitions/AddressSpace",
"description": "The reference to the current address space of the remote virtual network."
"description": "The reference to the remote virtual network address space."
},
"remoteBgpCommunities": {
"$ref": "#/definitions/VirtualNetworkBgpCommunities",
Expand All @@ -1574,25 +1570,6 @@
"modelAsString": true
}
},
"peeringSyncLevel": {
"type": "string",
"description": "The peering sync status of the virtual network peering.",
"enum": [
"FullySynced",
"RemoteUnsynced",
"LocalUnsynced",
"LocalAndRemoteUnsynced"
],
"x-ms-enum": {
"name": "VirtualNetworkPeeringLevel",
"modelAsString": true
}
},
"syncRemoteAddressSpace": {
"type": "boolean",
"default": false,
"description": "Provided when user wants to sync the peering with address space on the remote virtual network after the address space is updated."
},
"provisioningState": {
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
Expand Down

0 comments on commit 35525d9

Please sign in to comment.