Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@

/src/maintenance/ @gautamd-ms

/src/managednetworkfabric/ @rahulm-msft

/src/ai-examples/ @mirdaki

/src/notification-hub/ @fengzhou-msft
Expand Down
38 changes: 37 additions & 1 deletion linter_exclusions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,43 @@ networkcloud virtualmachine create:
parameters:
isolate_emulator_thread:
rule_exclusions:
- option_length_too_long
- option_length_too_long
networkfabric controller create:
parameters:
workload_er_connections:
rule_exclusions:
- option_length_too_long
networkfabric rack create:
rule_exclusions:
- missing_command_test_coverage
networkfabric rack delete:
rule_exclusions:
- missing_command_test_coverage
networkfabric device delete:
rule_exclusions:
- missing_command_test_coverage
networkfabric interface delete:
rule_exclusions:
- missing_command_test_coverage
networkfabric l3domain create:
parameters:
aggregate_route_configuration:
rule_exclusions:
- option_length_too_long
connected_subnet_route_policy:
rule_exclusions:
- option_length_too_long
redistribute_connected_subnets:
rule_exclusions:
- option_length_too_long
redistribute_static_routes:
rule_exclusions:
- option_length_too_long
networkfabric internalnetwork create:
parameters:
static_route_configuration:
rule_exclusions:
- option_length_too_long
notification-hub authorization-rule create:
parameters:
notification_hub_name:
Expand Down
8 changes: 8 additions & 0 deletions src/managednetworkfabric/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. :changelog:
Release History
===============

1.0.0b1
++++++
* Initial release.
41 changes: 41 additions & 0 deletions src/managednetworkfabric/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Azure CLI Managednetworkfabric Extension #
This is an extension to Azure CLI to manage Managednetworkfabric resources.

## How to use ##

Install the extension:

```
az extension add --name managednetworkfabric
```

Validate that the extension is installed correctly:

```
az networkfabric --help
```

## Included Features ##

Below is a high-level overview of managednetworkfabric commands.

| Commands | Description|
| ------------- | ------------- |
| az networkfabric acl | Manage Access Control List Resource. |
| az networkfabric controller | Manage Network Fabric Controller Resource. |
| az networkfabric device | Manage Network Device Resource. |
| az networkfabric devicesku | Manage Network Device SKU Resource. |
| az networkfabric externalnetwork | Manage External Network Resource. |
| az networkfabric fabric | Manage Network Fabric Resource. |
| az networkfabric fabricsku | Manage Network Fabric SKU Resource. |
| az networkfabric interface | Manage Network Interface Resource. |
| az networkfabric internalnetwork | Manage Internal Network Resource. |
| az networkfabric ipcommunity | Manage Ip Community Resource. |
| az networkfabric ipextendedcommunity | Manage Ip Extended Community Resource. |
| az networkfabric ipprefix | Manage Ip Prefix Resource. |
| az networkfabric l2domain | Manage L2 Isolation Domain Resource. |
| az networkfabric l3domain | Manage L3 Isolation Domain Resource. |
| az networkfabric nni | Manage Network To Network Interconnect Resource. |
| az networkfabric rack | Manage Network Rack Resource. |
| az networkfabric racksku | Manage Network Rack SKU Resource. |
| az networkfabric routepolicy | Manage Route Policy Resource. |
42 changes: 42 additions & 0 deletions src/managednetworkfabric/azext_managednetworkfabric/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

from azure.cli.core import AzCommandsLoader
from azext_managednetworkfabric._help import helps # pylint: disable=unused-import


class ManagednetworkfabricCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
custom_command_type = CliCommandType(
operations_tmpl='azext_managednetworkfabric.custom#{}')
super().__init__(cli_ctx=cli_ctx,
custom_command_type=custom_command_type)

def load_command_table(self, args):
from azext_managednetworkfabric.commands import load_command_table
from azure.cli.core.aaz import load_aaz_command_table
try:
from . import aaz
except ImportError:
aaz = None
if aaz:
load_aaz_command_table(
loader=self,
aaz_pkg_name=aaz.__name__,
args=args
)
load_command_table(self, args)
return self.command_table

def load_arguments(self, command):
from azext_managednetworkfabric._params import load_arguments
load_arguments(self, command)


COMMAND_LOADER_CLS = ManagednetworkfabricCommandsLoader
11 changes: 11 additions & 0 deletions src/managednetworkfabric/azext_managednetworkfabric/_help.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: disable=line-too-long
# pylint: disable=too-many-lines

from knack.help_files import helps # pylint: disable=unused-import
13 changes: 13 additions & 0 deletions src/managednetworkfabric/azext_managednetworkfabric/_params.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: disable=too-many-lines
# pylint: disable=too-many-statements


def load_arguments(self, _): # pylint: disable=unused-argument
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"networkfabric",
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure Network Fabric Management Service API
"""
pass


__all__ = ["__CMDGroup"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from azure.cli.core.aaz import *


@register_command_group(
"networkfabric acl",
)
class __CMDGroup(AAZCommandGroup):
"""Manage Access Control List Resource
"""
pass


__all__ = ["__CMDGroup"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

from .__cmd_group import *
from ._create import *
from ._delete import *
from ._list import *
from ._show import *
Loading