acex-cli 4.3.0__tar.gz → 4.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {acex_cli-4.3.0 → acex_cli-4.3.1}/PKG-INFO +3 -3
- {acex_cli-4.3.0 → acex_cli-4.3.1}/pyproject.toml +3 -3
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/commands/node.py +0 -7
- {acex_cli-4.3.0 → acex_cli-4.3.1}/README.md +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/__init__.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/commands/__init__.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/commands/asset.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/commands/context.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/commands/logical_node.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/commands/ned.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/context.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/diff_formatters.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/main.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/output.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/print_utils.py +0 -0
- {acex_cli-4.3.0 → acex_cli-4.3.1}/src/acex_cli/sdk.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: acex-cli
|
|
3
|
-
Version: 4.3.
|
|
3
|
+
Version: 4.3.1
|
|
4
4
|
Summary: ACE-X CLI - Command-line interface for ACE-X
|
|
5
5
|
License: AGPL-3.0
|
|
6
6
|
Keywords: automation,cli,control
|
|
@@ -11,8 +11,8 @@ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.14
|
|
14
|
-
Requires-Dist: acex-client (>=4.2.
|
|
15
|
-
Requires-Dist: acex-driver-cisco-ioscli (>=0.
|
|
14
|
+
Requires-Dist: acex-client (>=4.2.2,<5.0.0)
|
|
15
|
+
Requires-Dist: acex-driver-cisco-ioscli (>=0.4.1,<0.5.0)
|
|
16
16
|
Requires-Dist: click (==8.1.7)
|
|
17
17
|
Requires-Dist: ntc-templates (>=8.1.0,<9.0.0)
|
|
18
18
|
Requires-Dist: rich (>=13.0.0,<14.0.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "acex-cli"
|
|
3
|
-
version = "4.3.
|
|
3
|
+
version = "4.3.1"
|
|
4
4
|
description = "ACE-X CLI - Command-line interface for ACE-X"
|
|
5
5
|
authors = ["Johan Lahti <johan.lahti@acebit.se>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -17,8 +17,8 @@ python = "^3.13"
|
|
|
17
17
|
typer = "^0.12.0"
|
|
18
18
|
rich = "^13.0.0"
|
|
19
19
|
click = "8.1.7"
|
|
20
|
-
acex-client = "^4.2.
|
|
21
|
-
acex-driver-cisco-ioscli = "^0.
|
|
20
|
+
acex-client = "^4.2.2" # Changes to real dep. by switch_acex_client_dep for publishing
|
|
21
|
+
acex-driver-cisco-ioscli = "^0.4.1"
|
|
22
22
|
ntc-templates = "^8.1.0"
|
|
23
23
|
|
|
24
24
|
[tool.poetry.scripts]
|
|
@@ -279,10 +279,7 @@ def config_show_desired(
|
|
|
279
279
|
format: str = typer.Option("table", "--format", "-f", help="Output format: table, json"),
|
|
280
280
|
):
|
|
281
281
|
"""Show desired config."""
|
|
282
|
-
import time
|
|
283
|
-
t0 = time.time()
|
|
284
282
|
sdk = get_sdk(ctx.obj.get_active_context())
|
|
285
|
-
t1 = time.time()
|
|
286
283
|
|
|
287
284
|
if render:
|
|
288
285
|
node_instance = _fetch_node_instance(sdk, node)
|
|
@@ -292,11 +289,7 @@ def config_show_desired(
|
|
|
292
289
|
_print_rendered(ned.render(config, node_instance.asset))
|
|
293
290
|
else:
|
|
294
291
|
_, config = _fetch_desired_config(sdk, node)
|
|
295
|
-
t2 = time.time()
|
|
296
292
|
_print_parsed_config(config.model_dump(), path=path, format=format, title=f"Desired config — {node}")
|
|
297
|
-
t3 = time.time()
|
|
298
|
-
|
|
299
|
-
typer.echo(f"[debug] sdk init: {t1-t0:.2f}s, fetch: {t2-t1:.2f}s, render: {t3-t2:.2f}s")
|
|
300
293
|
|
|
301
294
|
|
|
302
295
|
@config_show_app.command("observed")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|