Skip to content

Commit 9b9dfaa

Browse files
udivya73VeryEarlySatyamurtiDoddinividai-msft
authored
Add Powershell support for Subnet peering feature (#26906)
* Update AddAzureVirtualNetworkPeeringCommand.cs * Update Network.format.ps1xml * Update PSVirtualNetworkPeering.cs * Update Add-AzVirtualNetworkPeering.md * Update Add-AzVirtualNetworkPeering.md * Update ChangeLog.md * Update AddAzureVirtualNetworkPeeringCommand.cs * Update PSVirtualNetworkPeering.cs * Update Network.format.ps1xml * Update VirtualNetworkTests.ps1 * Update VirtualNetworkTests.cs * Create TestSubnetPeeringCRUD.json * Create TestSubnetPeeringSyncCRUD.json * Update ChangeLog for subnet peering support * Fix build errors * Fix singular names build error * Fix build errors by renaming plural to singular names * Revert "Fix access token cache issue (#27050)" This reverts commit 58d9dc1. * Try to fix subnet outbound error * Fix UT and generate json in record mode * Fix access token cache issue (#27050) * Fix access token cache issue * Update doc and script * Appened the error message to be suppressed * Revert "Appened the error message to be suppressed" This reverts commit 31408a2. * Revert "Fix access token cache issue (#27050)" This reverts commit 58d9dc1. * Record remaining tests * Fix access token cache issue (#27050) * Fix access token cache issue * Update doc and script --------- Co-authored-by: Yabo Hu <[email protected]> Co-authored-by: SatyamurtiDoddini <[email protected]> Co-authored-by: Satyamurti Doddini <[email protected]> Co-authored-by: Vincent Dai <[email protected]>
1 parent 281d9ec commit 9b9dfaa

18 files changed

+13621
-4802
lines changed

src/Network/Network.Test/ScenarioTests/VirtualNetworkTests.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,14 @@ public void TestMultiTenantVNetPCRUD()
130130

131131
}
132132

133+
[Fact]
134+
[Trait(Category.AcceptanceType, Category.CheckIn)]
135+
[Trait(Category.Owner, NrpTeamAlias.vnetpeeringdev)]
136+
public void TestSubnetPeeringCRUD()
137+
{
138+
TestRunner.RunTestScript("Test-SubnetPeeringCRUD");
139+
}
140+
133141
[Fact(Skip = "test is timing out , ahmed salma to fix")]
134142
[Trait(Category.AcceptanceType, Category.CheckIn)]
135143
[Trait(Category.Owner, NrpTeamAlias.wanrpdev_subset1)]
@@ -194,6 +202,14 @@ public void TestVirtualNetworkPeeringSyncCRUD()
194202
TestRunner.RunTestScript("Test-SyncVirtualNetworkPeeringCRUD");
195203
}
196204

205+
[Fact]
206+
[Trait(Category.AcceptanceType, Category.CheckIn)]
207+
[Trait(Category.Owner, NrpTeamAlias.vnetpeeringdev)]
208+
public void TestSubnetPeeringSyncCRUD()
209+
{
210+
TestRunner.RunTestScript("Test-SyncSubnetPeeringCRUD");
211+
}
212+
197213
[Fact]
198214
[Trait(Category.AcceptanceType, Category.CheckIn)]
199215
[Trait(Category.Owner, NrpTeamAlias.wanrpdev_subset1)]

src/Network/Network.Test/ScenarioTests/VirtualNetworkTests.ps1

Lines changed: 281 additions & 16 deletions
Large diffs are not rendered by default.

src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.VirtualNetworkTests/TestSubnetPeeringCRUD.json

Lines changed: 2651 additions & 0 deletions
Large diffs are not rendered by default.

src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.VirtualNetworkTests/TestSubnetPeeringSyncCRUD.json

Lines changed: 5929 additions & 0 deletions
Large diffs are not rendered by default.

src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.VirtualNetworkTests/TestVirtualNetworkCRUD.json

Lines changed: 519 additions & 549 deletions
Large diffs are not rendered by default.

src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.VirtualNetworkTests/TestVirtualNetworkCRUDWithDDoSProtection.json

Lines changed: 848 additions & 882 deletions
Large diffs are not rendered by default.

src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.VirtualNetworkTests/TestVirtualNetworkEdgeZone.json

Lines changed: 114 additions & 294 deletions
Large diffs are not rendered by default.

src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.VirtualNetworkTests/TestVirtualNetworkInEdgeZone.json

Lines changed: 60 additions & 326 deletions
Large diffs are not rendered by default.

src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.VirtualNetworkTests/TestVirtualNetworkSubnetCRUD.json

Lines changed: 877 additions & 659 deletions
Large diffs are not rendered by default.

src/Network/Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.VirtualNetworkTests/TestVirtualNetworkSubnetDelegationCRUD.json

Lines changed: 848 additions & 860 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)