gnetcli-adapter 2.7.0__tar.gz → 2.8.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gnetcli_adapter
3
- Version: 2.7.0
3
+ Version: 2.8.0
4
4
  Summary: Gnetcli-server adapter for Annet
5
5
  Author-email: Aleksandr Balezin <gescheit12@gmail.com>
6
6
  Requires-Python: >=3.10
@@ -109,6 +109,8 @@ async def get_config(breed: str) -> List[str]:
109
109
  return ["show running-config | no-more"]
110
110
  elif breed.startswith(("h3c", "vrp")):
111
111
  return ["display current-configuration"]
112
+ elif breed.startswith("aruos"):
113
+ return ["show ap-env", "show running-config"]
112
114
  raise Exception("unknown breed %r" % breed)
113
115
 
114
116
 
@@ -516,6 +518,7 @@ class GnetcliDeployer(DeployDriver, AdapterWithConfig, AdapterWithName, ApiMaker
516
518
  res = await session.cmd(
517
519
  cmd=cmd.cmd,
518
520
  cmd_timeout=cmd.timeout,
521
+ read_timeout=cmd.read_timeout,
519
522
  host_params=host_params,
520
523
  qa=parse_annet_qa(cmd.questions or []),
521
524
  trace=True,
File without changes