gnetcli-adapter 2.2.2__tar.gz → 2.3.0__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.
- {gnetcli_adapter-2.2.2 → gnetcli_adapter-2.3.0}/PKG-INFO +2 -2
- {gnetcli_adapter-2.2.2 → gnetcli_adapter-2.3.0}/pyproject.toml +1 -1
- {gnetcli_adapter-2.2.2 → gnetcli_adapter-2.3.0}/src/gnetcli_adapter/gnetcli_adapter.py +5 -3
- {gnetcli_adapter-2.2.2 → gnetcli_adapter-2.3.0}/LICENSE +0 -0
- {gnetcli_adapter-2.2.2 → gnetcli_adapter-2.3.0}/README.md +0 -0
- {gnetcli_adapter-2.2.2 → gnetcli_adapter-2.3.0}/src/gnetcli_adapter/__init__.py +0 -0
- {gnetcli_adapter-2.2.2 → gnetcli_adapter-2.3.0}/src/gnetcli_adapter/progress_tracker.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gnetcli_adapter
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Gnetcli-server adapter for Annet
|
|
5
5
|
Author-email: Aleksandr Balezin <gescheit12@gmail.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: annet>=
|
|
15
|
+
Requires-Dist: annet>=3.2.0
|
|
16
16
|
Requires-Dist: gnetclisdk>=1.0.31
|
|
17
17
|
Requires-Dist: pydantic_settings
|
|
18
18
|
Requires-Dist: pydantic
|
|
@@ -108,7 +108,7 @@ class AppSettings(BaseSettings):
|
|
|
108
108
|
|
|
109
109
|
async def get_config(breed: str) -> List[str]:
|
|
110
110
|
if breed == "routeros":
|
|
111
|
-
return ["/export verbose", "/user export verbose"]
|
|
111
|
+
return ["/export verbose", "/user export verbose", "/file print terse detail", "/user ssh-keys print terse"]
|
|
112
112
|
elif breed.startswith("ios") or breed.startswith("bcom") or breed.startswith("eltex"):
|
|
113
113
|
return ["show running-config"]
|
|
114
114
|
elif breed.startswith("jun"):
|
|
@@ -533,8 +533,10 @@ class GnetcliDeployer(DeployDriver, AdapterWithConfig, AdapterWithName):
|
|
|
533
533
|
res = apply_deploy_rulebook(hw=hw, cmd_paths=cmd_paths, do_finalize=do_finalize, do_commit=do_commit)
|
|
534
534
|
return res
|
|
535
535
|
|
|
536
|
-
def build_configuration_cmdlist(
|
|
537
|
-
|
|
536
|
+
def build_configuration_cmdlist(
|
|
537
|
+
self, hw: HardwareView, do_finalize: bool = True, do_commit: bool = True, path: str = None,
|
|
538
|
+
):
|
|
539
|
+
res = common.apply(hw, do_commit=do_commit, do_finalize=do_finalize, path=path)
|
|
538
540
|
return res
|
|
539
541
|
|
|
540
542
|
def build_exit_cmdlist(self, hw: HardwareView) -> CommandList:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|