Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #94 from nautobot/release-v1.1.3
Browse files Browse the repository at this point in the history
Release v1.1.3
  • Loading branch information
pke11y authored May 25, 2022
2 parents 399b8ba + 7f34d0f commit 667fa8e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 12 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## v1.1.3 - 2022-05-25

### Fixed

- #93 - Bump pyjwt dependency.
- #92 - Update plugin description.
- #91 - Fix for null WLAN SSIDs.

### Fixed


## v1.1.2 - 2022-05-11

### Added
Expand Down
4 changes: 2 additions & 2 deletions nautobot_chatops_ipfabric/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class IPFabricConfig(PluginConfig):
verbose_name = "IPFabric"
version = __version__
author = "Network to Code, LLC"
description = "IPFabric."
base_url = "ipfabric.io"
description = "Nautobot Chatops IPFabric"
base_url = "nautobot-chatops-ipfabric"
required_settings = []
min_version = "1.0.0"
max_version = "1.9999"
Expand Down
7 changes: 3 additions & 4 deletions nautobot_chatops_ipfabric/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def wireless(dispatcher, option=None, ssid=None):
"""Get wireless information by client or ssid."""
snapshot_id = get_user_snapshot(dispatcher)
logger.debug("Getting SSIDs")
ssids = [(ssidi["wlanSsid"].lower()) for ssidi in ipfabric_api.get_wireless_ssids(snapshot_id)]
ssids = ipfabric_api.get_wireless_ssids(snapshot_id)

if not ssids:
dispatcher.send_blocks(
Expand Down Expand Up @@ -722,7 +722,7 @@ def wireless(dispatcher, option=None, ssid=None):

def get_wireless_ssids(dispatcher, ssid=None, snapshot_id=None):
"""Get All Wireless SSID Information."""
ssids = [(ssid_["wlanSsid"].lower()) for ssid_ in ipfabric_api.get_wireless_ssids(snapshot_id)]
ssids = ipfabric_api.get_wireless_ssids(snapshot_id)
if not ssids:
dispatcher.send_blocks(
[
Expand All @@ -738,8 +738,6 @@ def get_wireless_ssids(dispatcher, ssid=None, snapshot_id=None):
)
return True

ssids = ipfabric_api.get_wireless_ssids(snapshot_id)

dispatcher.send_blocks(
[
*dispatcher.command_response_header(
Expand Down Expand Up @@ -781,6 +779,7 @@ def get_wireless_clients(dispatcher, ssid=None, snapshot_id=None):
ssids = [
(f"{ssid_['wlanSsid']}-{ssid_['radioDscr']}", ssid_["wlanSsid"])
for ssid_ in ipfabric_api.get_wireless_ssids(snapshot_id)
if ssid_["wlanSsid"]
]
if not ssids:
dispatcher.send_blocks(
Expand Down
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "nautobot-chatops-ipfabric"
version = "1.1.2"
version = "1.1.3"
description = "Nautobot Plugin Chatops IPFabric"
authors = ["Network to Code, LLC <[email protected]>"]

Expand Down

0 comments on commit 667fa8e

Please sign in to comment.