Skip to content

Commit

Permalink
updated network fabric extension to reflect version 2024-02-15-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
nafizhaider committed Nov 14, 2024
1 parent fd0946c commit b3f5658
Show file tree
Hide file tree
Showing 136 changed files with 3,163 additions and 2,290 deletions.
62 changes: 7 additions & 55 deletions src/managednetworkfabric/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Release History
===============

6.4.1
++++++
* This version requires a minimum of 2.66 Azure core CLI. See release notes for more details: https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/release-notes-azure-cli.md
* This version upgrades the internal generation tool aaz-dev-tools to 3.1.0. Refer to the release notes for more details: https://github.com/Azure/aaz-dev-tools/releases/tag/v3.1.0.

6.4.0
++++++
* Updating release version to be in sync with 6.4 RP release
Expand All @@ -23,60 +29,6 @@ Release History
* Added device run ro support
* Allowed null values for acl ids in nni

5.2.1
++++++
* Reverted changes to 5.0.0 version

5.2.0
++++++
* Added device run ro support
* Allowed null values for acl ids in nni

5.0.0
++++++
* Added Resync functionality for Network taps and Network tap rules
* Added support External Network to patch NNI

4.2.0
++++++
* Added support for upgrading Device and Network Fabric resource.
* Added support for validate configuration in Network Fabric resources.

4.1.1
++++++
* Revered the attribute renaming changes done in previous commit.

4.1.0
++++++
* Supported for fabric commit-configuration functionality
* PATCH support added for
* - Route Policy,
* - Access Control List,
* - IPCommunity,
* - IPExtendedCommunity,
* - IPPrefix,
* - L2 Isolation Domain,
* - L3 Isolation Domain,
* - Internal Network,
* - External Network

3.2.0
++++++
* Supported ACL
* Added new parameter "defaultAction" in RoutePolicies and ACL
* Supported NeighborGroup
* Supported Tap
* Supported TapRule

3.1.0
++++++
* GA Initial release.

1.0.0b2
++++++
* Updated latest swagger specification.
* Removed commands which are not required.

1.0.0b1
0.1.0
++++++
* Initial release.
41 changes: 1 addition & 40 deletions src/managednetworkfabric/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,4 @@
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 externalnetwork | Manage External Network Resource. |
| az networkfabric fabric | Manage Network Fabric Resource. |
| az networkfabric interface | Manage Network Interface Resource. |
| az networkfabric internalnetwork | Manage Internal Network Resource. |
| az networkfabric internetgateway | Manage Internet Gateway Resource. |
| az networkfabric internetgatewayrule | Manage Internet Gateway Rule 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 neighborgroup | Manage Neighbor Group Resource. |
| az networkfabric nni | Manage Network To Network Interconnect Resource. |
| az networkfabric npb | Manage Network Packet Broker Resource. |
| az networkfabric rack | Manage Network Rack Resource. |
| az networkfabric routepolicy | Manage Route Policy Resource. |
| az networkfabric tap | Manage Network Tap Resource. |
| az networkfabric taprule | Manage Network Tap Rule Resource. |
Please add commands usage here.
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
#
# Code generated by aaz-dev-tools
# --------------------------------------------------------------------------------------------

# pylint: skip-file
# flake8: noqa

Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,17 @@ def _build_arguments_schema(cls, *args, **kwargs):
options=["--dynamic-match-configurations"],
arg_group="Properties",
help="List of dynamic match configurations.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_args_schema.match_configurations = AAZListArg(
options=["--match-configurations"],
arg_group="Properties",
help="List of match configurations.",
fmt=AAZListArgFormat(
min_length=1,
),
)

dynamic_match_configurations = cls._args_schema.dynamic_match_configurations
Expand All @@ -127,14 +133,23 @@ def _build_arguments_schema(cls, *args, **kwargs):
_element.ip_groups = AAZListArg(
options=["ip-groups"],
help="List of IP Groups.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.port_groups = AAZListArg(
options=["port-groups"],
help="List of the port groups.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.vlan_groups = AAZListArg(
options=["vlan-groups"],
help="List of vlan groups.",
fmt=AAZListArgFormat(
min_length=1,
),
)

ip_groups = cls._args_schema.dynamic_match_configurations.Element.ip_groups
Expand All @@ -152,6 +167,9 @@ def _build_arguments_schema(cls, *args, **kwargs):
_element.ip_prefixes = AAZListArg(
options=["ip-prefixes"],
help="List of IP Prefixes.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.name = AAZStrArg(
options=["name"],
Expand Down Expand Up @@ -182,6 +200,9 @@ def _build_arguments_schema(cls, *args, **kwargs):
_element.ports = AAZListArg(
options=["ports"],
help="List of the ports that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)

ports = cls._args_schema.dynamic_match_configurations.Element.port_groups.Element.ports
Expand All @@ -205,6 +226,9 @@ def _build_arguments_schema(cls, *args, **kwargs):
_element.vlans = AAZListArg(
options=["vlans"],
help="List of vlans.",
fmt=AAZListArgFormat(
min_length=1,
),
)

vlans = cls._args_schema.dynamic_match_configurations.Element.vlan_groups.Element.vlans
Expand All @@ -221,6 +245,9 @@ def _build_arguments_schema(cls, *args, **kwargs):
_element.actions = AAZListArg(
options=["actions"],
help="List of actions that need to be performed for the matched conditions.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.ip_address_type = AAZStrArg(
options=["ip-address-type"],
Expand All @@ -233,6 +260,9 @@ def _build_arguments_schema(cls, *args, **kwargs):
_element.match_conditions = AAZListArg(
options=["match-conditions"],
help="List of the match conditions.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.match_configuration_name = AAZStrArg(
options=["match-configuration-name"],
Expand Down Expand Up @@ -277,14 +307,23 @@ def _build_arguments_schema(cls, *args, **kwargs):
_element.dscp_markings = AAZListArg(
options=["dscp-markings"],
help="List of DSCP Markings that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.ether_types = AAZListArg(
options=["ether-types"],
help="List of ether type values that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.fragments = AAZListArg(
options=["fragments"],
help="List of IP fragment packets that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.ip_condition = AAZObjectArg(
options=["ip-condition"],
Expand All @@ -293,6 +332,9 @@ def _build_arguments_schema(cls, *args, **kwargs):
_element.ip_lengths = AAZListArg(
options=["ip-lengths"],
help="List of IP Lengths that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.port_condition = AAZObjectArg(
options=["port-condition"],
Expand All @@ -301,10 +343,16 @@ def _build_arguments_schema(cls, *args, **kwargs):
_element.protocol_types = AAZListArg(
options=["protocol-types"],
help="List of the protocols that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.ttl_values = AAZListArg(
options=["ttl-values"],
help="List of TTL [Time To Live] values that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
_element.vlan_match_condition = AAZObjectArg(
options=["vlan-match-condition"],
Expand Down Expand Up @@ -336,10 +384,16 @@ def _build_arguments_schema(cls, *args, **kwargs):
ip_condition.ip_group_names = AAZListArg(
options=["ip-group-names"],
help="The List of IP Group Names that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
ip_condition.ip_prefix_values = AAZListArg(
options=["ip-prefix-values"],
help="The list of IP Prefixes that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
ip_condition.prefix_type = AAZStrArg(
options=["prefix-type"],
Expand Down Expand Up @@ -396,6 +450,9 @@ def _build_arguments_schema(cls, *args, **kwargs):
port_condition.port_group_names = AAZListArg(
options=["port-group-names"],
help="List of the port Group Names that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
port_condition.port_type = AAZStrArg(
options=["port-type"],
Expand All @@ -408,6 +465,9 @@ def _build_arguments_schema(cls, *args, **kwargs):
port_condition.ports = AAZListArg(
options=["ports"],
help="List of the Ports that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)

flags = cls._args_schema.match_configurations.Element.match_conditions.Element.port_condition.flags
Expand Down Expand Up @@ -445,14 +505,23 @@ def _build_arguments_schema(cls, *args, **kwargs):
vlan_match_condition.inner_vlans = AAZListArg(
options=["inner-vlans"],
help="List of inner vlans that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
vlan_match_condition.vlan_group_names = AAZListArg(
options=["vlan-group-names"],
help="List of vlan group names that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)
vlan_match_condition.vlans = AAZListArg(
options=["vlans"],
help="List of vlans that need to be matched.",
fmt=AAZListArgFormat(
min_length=1,
),
)

inner_vlans = cls._args_schema.match_configurations.Element.match_conditions.Element.vlan_match_condition.inner_vlans
Expand Down
Loading

0 comments on commit b3f5658

Please sign in to comment.