Skip to content

Commit f6ba51d

Browse files
jago2136Jared GorthyBethanyZhou
authored
Merge Azure Virtual Network Manager Cmdlets (#19023)
* add initial network manager files * adding siugnature issues and itemgroup to test csproj file * adding siugnature issues and itemgroup to test csproj file * add all tests and bug fixes * add help docs * bux fix for param autocomplete and update changelog.md * update help files and changelog to address comments * resolve PR review suggestions * resolve PR review comments * fix review comments involving input object, list->array object types, and various param renames * Update src/Network/Network/ChangeLog.md Co-authored-by: Beisi Zhou <[email protected]> * fix markdown validation error * fix markdown errors reported by PR check * updating markdown files to fix validation errors * updating markdown files to fix validation errors * add cross-tenant scopes property to network manager * add valid enum values to subscriptions and push most recent test records * update help docs and set commands * fix help docs online version link Co-authored-by: Jared Gorthy <[email protected]> Co-authored-by: Beisi Zhou <[email protected]>
1 parent c501107 commit f6ba51d

File tree

164 files changed

+27908
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+27908
-31
lines changed

src/Network/Network.Test/Network.Test.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,8 @@
4747
<Folder Include="SessionRecords\Commands.Network.Test.ScenarioTests.NetworkVirtualApplianceTests\" />
4848
</ItemGroup>
4949

50+
<ItemGroup>
51+
<Folder Include="SessionRecords\Commands.Network.Test.ScenarioTests.NetworkManagerTests\" />
52+
</ItemGroup>
53+
5054
</Project>
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using Microsoft.Azure.Commands.Network.Test.ScenarioTests;
16+
using Microsoft.Azure.ServiceManagement.Common.Models;
17+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
18+
using Xunit;
19+
using Xunit.Abstractions;
20+
21+
namespace Commands.Network.Test.ScenarioTests
22+
{
23+
public class NetworkManagerTests : NetworkTestRunner
24+
{
25+
public NetworkManagerTests(Xunit.Abstractions.ITestOutputHelper output)
26+
: base(output)
27+
{
28+
}
29+
30+
[Fact]
31+
[Trait(Category.AcceptanceType, Category.CheckIn)]
32+
[Trait(Category.Owner, NrpTeamAlias.sdnnrp)]
33+
public void TestNetworkManagerCRUD()
34+
{
35+
TestRunner.RunTestScript("Test-NetworkManagerCRUD");
36+
}
37+
38+
[Fact]
39+
[Trait(Category.AcceptanceType, Category.CheckIn)]
40+
[Trait(Category.Owner, NrpTeamAlias.sdnnrp)]
41+
public void TestNetworkManagerGroupCRUD()
42+
{
43+
TestRunner.RunTestScript("Test-NetworkManagerGroupCRUD");
44+
}
45+
46+
[Fact]
47+
[Trait(Category.AcceptanceType, Category.CheckIn)]
48+
[Trait(Category.Owner, NrpTeamAlias.sdnnrp)]
49+
public void TestNetworkManagerStaticMemberCRUD()
50+
{
51+
TestRunner.RunTestScript("Test-NetworkManagerStaticMemberCRUD");
52+
}
53+
54+
[Fact]
55+
[Trait(Category.AcceptanceType, Category.CheckIn)]
56+
[Trait(Category.Owner, NrpTeamAlias.sdnnrp)]
57+
public void TestNetworkManagerConnectivityConfigurationCRUD()
58+
{
59+
TestRunner.RunTestScript("Test-NetworkManagerConnectivityConfigurationCRUD");
60+
}
61+
62+
[Fact]
63+
[Trait(Category.AcceptanceType, Category.CheckIn)]
64+
[Trait(Category.Owner, NrpTeamAlias.sdnnrp)]
65+
public void NetworkManagerSecurityAdminRuleCRUD()
66+
{
67+
TestRunner.RunTestScript("Test-NetworkManagerSecurityAdminRuleCRUD");
68+
}
69+
70+
[Fact]
71+
[Trait(Category.AcceptanceType, Category.CheckIn)]
72+
[Trait(Category.Owner, NrpTeamAlias.sdnnrp)]
73+
public void NetworkManagerScopeConnectionCRUD()
74+
{
75+
TestRunner.RunTestScript("Test-NetworkManagerScopeConnectionCRUD");
76+
}
77+
78+
[Fact]
79+
[Trait(Category.AcceptanceType, Category.CheckIn)]
80+
[Trait(Category.Owner, NrpTeamAlias.sdnnrp)]
81+
public void NetworkManagerSubcriptionConnectionCRUD()
82+
{
83+
TestRunner.RunTestScript("Test-NetworkManagerSubscriptionConnectionCRUD");
84+
}
85+
86+
[Fact]
87+
[Trait(Category.AcceptanceType, Category.CheckIn)]
88+
[Trait(Category.Owner, NrpTeamAlias.sdnnrp)]
89+
public void NetworkManagerManagementGroupConnectionCRUD()
90+
{
91+
TestRunner.RunTestScript("Test-NetworkManagerManagementGroupConnectionCRUD");
92+
}
93+
}
94+
}

src/Network/Network.Test/ScenarioTests/NetworkManagerTests.ps1

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

0 commit comments

Comments
 (0)