Skip to content

Commit 319495d

Browse files
Managed Network Fabric CLI: enable bootstrap interface, bootstrap device, and other actions for existing command groups (#9731)
* initial checking for 2025-07-15 stable CLI * Moving managed network fabric cli to stable version. * updating history file * Network Cloud CLI - updating History.rst with missing entry 4.0.0b2 * NetworkCloud CLI updates for 2026-01-01-preview * NetworkCloud CLI updates for 2026-01-01-preview * NetworkCloud CLI updates for 2026-01-01-preview * NetworkCloud CLI updates for 2026-01-01-preview * NetworkCloud CLI updates for 2026-01-01-preview * retrigger checks * Bugfix: Fixes the installation error that occurs with Azure CLI Corea 2.84.0 * Bugfix: Fixes the installation error that occurs with Azure CLI Corea 2.84.0 * Managed Network Fabric CLI: enable bootstrap interface, bootstrap device, and other actions for existing command groups. * Managed Network Fabric CLI: enable bootstrap interface, bootstrap device, and other actions for existing command groups. * Managed Network Fabric CLI: enable bootstrap interface, bootstrap device, and other actions for existing command groups. * Managed Network Fabric CLI: enable bootstrap interface, bootstrap device, and other actions for existing command groups.
1 parent 085b87d commit 319495d

54 files changed

Lines changed: 3605 additions & 625 deletions

Some content is hidden

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

src/managednetworkfabric/HISTORY.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
Release History
44
===============
55

6+
9.1.0
7+
++++++
8+
* Enables the following previously removed command/command groups:
9+
* - `bootstrapdevice` and `bootstrapinterface` command groups that both support `list` and `show` operations.
10+
* - `fabric` commands `resync-certificate` and `rotate-certificate` to support certificate resync and rotation operations on the fabric resource.
11+
* - `device` command `resync-certificate` to support resync operations for certificates on the device resource.
12+
613
9.0.0
714
++++++
815
* Updates this 2025-07-15 CLI to a stable version (9.0.0) from beta version (9.0.0b1).

src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_create.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,26 @@ def _build_arguments_schema(cls, *args, **kwargs):
6363
required=True,
6464
)
6565

66+
# define Arg Group "Body"
67+
68+
_args_schema = cls._args_schema
69+
_args_schema.location = AAZResourceLocationArg(
70+
arg_group="Body",
71+
help="The geo-location where the resource lives",
72+
required=True,
73+
fmt=AAZResourceLocationArgFormat(
74+
resource_group_arg="resource_group",
75+
),
76+
)
77+
_args_schema.tags = AAZDictArg(
78+
options=["--tags"],
79+
arg_group="Body",
80+
help="Resource tags.",
81+
)
82+
83+
tags = cls._args_schema.tags
84+
tags.Element = AAZStrArg()
85+
6686
# define Arg Group "Properties"
6787

6888
_args_schema = cls._args_schema
@@ -628,26 +648,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
628648

629649
vlans = cls._args_schema.match_configurations.Element.match_conditions.Element.vlan_match_condition.vlans
630650
vlans.Element = AAZStrArg()
631-
632-
# define Arg Group "Resource"
633-
634-
_args_schema = cls._args_schema
635-
_args_schema.location = AAZResourceLocationArg(
636-
arg_group="Resource",
637-
help="The geo-location where the resource lives",
638-
required=True,
639-
fmt=AAZResourceLocationArgFormat(
640-
resource_group_arg="resource_group",
641-
),
642-
)
643-
_args_schema.tags = AAZDictArg(
644-
options=["--tags"],
645-
arg_group="Resource",
646-
help="Resource tags.",
647-
)
648-
649-
tags = cls._args_schema.tags
650-
tags.Element = AAZStrArg()
651651
return cls._args_schema
652652

653653
_args_control_plane_acl_port_condition_create = None

src/managednetworkfabric/azext_managednetworkfabric/aaz/latest/networkfabric/acl/_update.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,18 @@ def _build_arguments_schema(cls, *args, **kwargs):
5858
required=True,
5959
)
6060

61+
# define Arg Group "Body"
62+
63+
_args_schema = cls._args_schema
64+
_args_schema.tags = AAZDictArg(
65+
options=["--tags"],
66+
arg_group="Body",
67+
help="Resource tags.",
68+
)
69+
70+
tags = cls._args_schema.tags
71+
tags.Element = AAZStrArg()
72+
6173
# define Arg Group "Properties"
6274

6375
_args_schema = cls._args_schema
@@ -131,11 +143,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
131143
min_length=1,
132144
),
133145
)
134-
_args_schema.tags = AAZDictArg(
135-
options=["--tags"],
136-
arg_group="Properties",
137-
help="Resource tags.",
138-
)
139146

140147
control_plane_acl_configuration = cls._args_schema.control_plane_acl_configuration
141148
control_plane_acl_configuration.Element = AAZObjectArg()
@@ -607,9 +614,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
607614

608615
vlans = cls._args_schema.match_configurations.Element.match_conditions.Element.vlan_match_condition.vlans
609616
vlans.Element = AAZStrArg()
610-
611-
tags = cls._args_schema.tags
612-
tags.Element = AAZStrArg()
613617
return cls._args_schema
614618

615619
_args_control_plane_acl_port_condition_update = None
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from azure.cli.core.aaz import *
12+
13+
14+
@register_command_group(
15+
"networkfabric bootstrapdevice",
16+
)
17+
class __CMDGroup(AAZCommandGroup):
18+
"""Manage Network Bootstrap Device Resource
19+
"""
20+
pass
21+
22+
23+
__all__ = ["__CMDGroup"]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
#
5+
# Code generated by aaz-dev-tools
6+
# --------------------------------------------------------------------------------------------
7+
8+
# pylint: skip-file
9+
# flake8: noqa
10+
11+
from .__cmd_group import *
12+
from ._list import *
13+
from ._show import *
14+
from ._wait import *

0 commit comments

Comments
 (0)