8000 Tags Β· Pack3tL0ss/central-api-cli Β· GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: Pack3tL0ss/central-api-cli

Tags

v8.5.1

Toggle v8.5.1's commit message
πŸ”–v8.5.1

- πŸ› Fix bug when no dev-type provided with --no-sub in `batch delete devices`
- ✨ `cencli update cp-cert <cert> ...` Will now Abort if the certificate is expired.
- ✨ Allow cert or certificate for add and show commands

v8.5.0

Toggle v8.5.0's commit message
πŸ”–v8.5.0

 - ✨ πŸ—ƒοΈ Certificates are now cached.  `cencli show certs` supports a ton more filtering flags
 - ✨ Add `cencli update cp-cert` to update the Captive Portal certificate @ AP group level.  For 1 or all AP groups.
 - ✨ `cencli show config <group>` will now make logical assumption on --ap/--gw if not provided.  Based on the groups allowed_types.
 - ♻️ 'cencli show certificates' now uses our DateTime object for expiration field, so sorting on the field works correctly.
 - ⚰️ Remove remaining 2 references to old time converters, and remove those functions.  All time fields should be using DateTime object now.
 - 🩹 Fix underscores being replaced with spaces in log detail body for `show audit logs <log id>`
 - πŸ”Š Add debug logging showing lines added/removed from AP group level config when updating cp-cert-checksum
 - πŸ’¬ Minor change in spacing `\n` for confirmation and output in device move commands
 - πŸ’¬ Add cleaner for `cencli show aps --group <group> --dirty`
 - πŸ”§ Update example launch.json for dev
 - βœ… Test with optional dependencies "speedups"
 - βœ… Add nox and configuration for automating tests across different python versions.
    `uv venv venv3.9 --python 3.9 --seed` (repeated for each version we support) was used to create the various interpreters/versions.

v8.4.2

Toggle v8.4.2's commit message
πŸ”–v8.4.2

## Resolved Bugs
 - πŸ› Fix potential for an issue if device is provided but is offline
 - πŸ› Fix site match by zipcode

## Commands/Options Updates / New Commands/Features
 - ✨ batch delete devices can now delete any devices that have no subscription (removes association with Central in GLP)
 - ✨ `cencli export configs` now supports templates along with more filtering options
 - ✨Add Cache for named MPSKs re-arrange current MPSK cache (mpsk_networks)
 - ✨ Add `cencli update swarm <AP in swarm>`, to update AOS8 IAP VC/Swarm config
 - ✨ More options for `cencli show swarms`
 - ✨ Improve command and examples for `cencli batch add macs`
 - ✨ Add `cencli add mpsk <ssid> <email|name> --role <role>...` To add named MPSK configurations.
 - πŸ’¬ Various help text/caption improvements/updates.
 - πŸ’¬ Make improvements to batch examples
 - 🎨 fix caption for updated `cencli batch add mpsk`
 - βœ… Update MPSK completion test after function name change
 - πŸ’¬ Improve version output `cencli --version` `cencli show version`

v8.4.1

Toggle v8.4.1's commit message
# πŸ”–v8.4.1

## Resolved Bugs
- 🩹 Fix issue in `show firrmware list <GW>` API endpoint now returns error stating not supported for cluster gateway.  So we convert to query by dev_type
- 🩹 Fix display issue in error message, when cache lookup finds a device, but of device type doesn't match provided dev_type filter.
- πŸ› Fix issue with `show firmware list` when device is an AP and AP is Down.
- πŸ› Fix issue with show config group level/gw
- πŸ› Fix bug in `show lldp` that caused exception if provided device was a standalone switch
- πŸ› Fix logic if trying to cancel device upgrade for AOS10 AP (use swarm kwarg vs serial).  This makes the cancel consistent with upgrade command.
- πŸ› fix minor issue that could occur when all calls fail during device cache refresh for all dev_types
- πŸ› Fix issue with AOS8 IAP in `show config` with `--env` flag.
- πŸ› fix issue in `show config <AP>` where group level config was being displayed, not the device level
## Commands/Options Updates / New Commands/Features
- ✨ Add `cencli show insights ...`
- ✨ Add/Improve `cencli update ap` and `cencli batch update aps`
- ✨ Improve `batch update APs` allow import to have other device types, and ignore them, rather than erroring out.
- ✨ Improve `show firmware` commands.  Add support for APs in `show firmware device`
- 🚩 hide `show audit acp-logs` it's not very useful.  It seems anything useful is also in `show audit logs`.
- ✨ Add verbose option to `show dhcp clients` which will gather info from config for DHCP reservations, which usually only return ip and mac.
- ✨ Add `update_ap_altitude` and update `update_per_ap_settings`
- 🎨 Update `webhook` commands
- πŸ’¬ Add --example for `batch update aps`
- πŸ’¬ 'cencli upgrade ...` Improve messaging and help text.  Refactor options.
- πŸ’¬ Improve output of `show dhcp clients`
- πŸ’¬ Minor help text update to `upgrade device`
- πŸ’¬ Move dynamic_antenna_models to constants
- πŸ’¬ Add caption to `show webhooks`
- πŸ’¬ Update webhook cleaner to show retry_type none when no policy is defined.
- πŸ’¬ Improve help and output of `show wlans`
## centralcli API changes (Library changes)
- πŸ’₯ Breaking Change `group_swarmid` param in get_ap_config changed to `iden` for consistencty and (serial# is valid for AOS10).
- ✨ Add `update_ap_altitude` and update `update_per_ap_settings`
## Other / dev
- πŸ‘½οΈ update allcalls (auto generated boilerplate code)
- 🎨 extend colorization to more cols in csv lexer
- πŸ”‡ Remove config dump from `--debugv` log.
- πŸ”Š Improve output in log.log_print avoid emoji πŸ’Ώ common in mac addresses
- πŸ”Š When `show=True` in logging methods display text to stderr
- ♻️ change cli.help_default to cli.help_block can now be used for default or requires blocks
- βœ… Add tests init file
   - The `test_devices.json` file needs to exist in the test directory, that's environment specific though.
- βœ… Add more tests
- πŸ§‘β€πŸ’» Add common yes_int option to CLIOptions takes -yy form vs std yes option which is bool
- πŸ§‘β€πŸ’» utils.parse_time_options can now return timestamps in milliseconds based on kwarg
- πŸ§‘β€πŸ’» Add get method to clioptions.CLIOptions argument, allows override any attribute of option.

v8.3.3

Toggle v8.3.3's commit message
πŸš‘ πŸ”–v8.3.3

 - fix protobuf import / make relative import

v8.3.2

Toggle v8.3.2's commit message
πŸ”–v8.3.2

 - πŸš‘ Add missing protobuf dep

v8.3.1

Toggle v8.3.1's commit message
πŸ”–v8.3.1

 - 🚩 `cencli update ap ...` can now update the gps altitude at the device level.
 - 🚩 Add support for device level config for AOS10 APs, and AOS8 swarms in `cencli show config...`
 - 🚩 Add clients to sort options for show device commands (`show all`, `show aps` ...)
 - 🎨 Improve `show lldp` handle multiple switches in same stack entered by serial
 - 🚧 ✨ Add WiP options for `show logs` and `show audit logs` to display logs in real-time from streaming API.  (Will be `-f` option).

v8.3.0

Toggle v8.3.0's commit message
πŸ”–v8.3.0

 - 🚩 `cencli update ap ...` can now update the gps altitude at the device level.
 - 🚩 Add support for device level config for AOS10 APs, and AOS8 swarms in `cencli show config...`
 - 🎨 Improve `show lldp` handle multiple switches in same stack entered by serial

v8.2.6

Toggle v8.2.6's commit message
πŸ”– v8.2.6

 - πŸš‘ fix logic in `delete device` which caused issue when partial serial is provided, and device is offline
 - 🚸 Improve `show version` add upgrade command to output if installed with uv.
 - πŸ”Š Display log that resulted in failure for scenarios where pycentral does a sys.exit with no msg.

v8.2.5

Toggle v8.2.5's commit message
πŸ”– v8.2.5

 - πŸš‘ handle last_account_file from outdated version of centralcli (fewer rows being stashed)
 - πŸ› Fix logic if var is not None vs if var, as __bool__ is configured for CacheObject so down devices could be ignored.
 - πŸ—ƒοΈ Improve cache update logic when device found only in inventory (refresh device cache, even if found in inventory)
0