From 13d5c8b1e1830c631a9bdc6be000cea0a7bcffa9 Mon Sep 17 00:00:00 2001 From: Will Foster Date: Mon, 9 Dec 2024 10:28:19 +0000 Subject: [PATCH] release: 2.1.6 * Release 2.1.6 * Fix metadata search example Change-Id: I1b4e76969c408fbf2fce65ed1718a17150aabe47 --- conf/quads.yml | 2 +- docs/quads-host-metadata-search.md | 8 ++++---- rpm/quads.spec | 8 +++++++- src/quads/config.py | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/conf/quads.yml b/conf/quads.yml index 535aeced..850a90e9 100644 --- a/conf/quads.yml +++ b/conf/quads.yml @@ -12,7 +12,7 @@ lab_name: "Lab" # display name for QUADS email notifications mail_display_name: "QUADS Scheduler" # set header for User-Agent: -mail_user_agent: "Rufus Postman 2.1.5" +mail_user_agent: "Rufus Postman 2.1.6" domain: example.com log: /opt/quads/log/quads.log quads_base_url: http://127.0.0.1:5000/ diff --git a/docs/quads-host-metadata-search.md b/docs/quads-host-metadata-search.md index 725112f2..52f4aa38 100644 --- a/docs/quads-host-metadata-search.md +++ b/docs/quads-host-metadata-search.md @@ -214,12 +214,12 @@ curl https://quads.example.com/api/v3/hosts?interfaces.mac_address=ac:1f:6b:2d:1 * Shows all hosts connected to a particular switch ``` -quads --ls-host --filter "interfaces.ip_address==10.1.34.216" +quads --ls-host --filter "interfaces.switch_ip==10.1.34.216" ``` * Via the API ``` -curl https://quads.example.com/api/v3/hosts?interfaces.ip_address=10.1.34.216 +curl https://quads.example.com/api/v3/hosts?interfaces.switch_ip=10.1.34.216 ``` * Find hosts by physical switchport @@ -240,12 +240,12 @@ curl https://quads.example.com/api/v3/hosts?interfaces.switch_port=et-0/0/7:1 * Example: Search for a host by physical switchport **and** switch IP address. ``` -quads --ls-hosts --filter "interfaces.ip_address==10.1.34.216,interfaces.switch_port==et-0/0/7:1" +quads --ls-hosts --filter "interfaces.switch_ip==10.1.34.216,interfaces.switch_port==et-0/0/7:1" ``` * Via the API ``` -curl https://quads.example.com/api/v3/hosts?interfaces.ip_address=10.1.34.216&interfaces.switch_port=et-0/0/7:1 +curl https://quads.example.com/api/v3/hosts?interfaces.switch_ip=10.1.34.216&interfaces.switch_port=et-0/0/7:1 ``` ## Querying Host Status diff --git a/rpm/quads.spec b/rpm/quads.spec index 8888f751..6fd577e6 100644 --- a/rpm/quads.spec +++ b/rpm/quads.spec @@ -15,7 +15,7 @@ %define name quads-dev %define reponame quads %define branch latest -%define version 2.1.5 +%define version 2.1.6 %define build_timestamp %{lua: print(os.date("%Y%m%d"))} Summary: Automated future scheduling, documentation, end-to-end provisioning and assignment of servers and networks. @@ -230,6 +230,12 @@ find /opt/quads/ | grep -E "(/__pycache__$|\.pyc$|\.pyo$)" | xargs rm -rf %changelog +* Mon Dec 09 2024 Will Foster +- 2.1.6 Release +- Add notify_tenant.py tool +- Add ls notifications and mod notifications +- quads-web fixes, updates, add lab_name + * Fri Nov 15 2024 Will Foster - 2.1.5 Release diff --git a/src/quads/config.py b/src/quads/config.py index 267b3648..54a5547e 100644 --- a/src/quads/config.py +++ b/src/quads/config.py @@ -81,7 +81,7 @@ def API_URL(self): FPING_TIMEOUT = 10000 - QUADSVERSION = "2.1.5" + QUADSVERSION = "2.1.6" QUADSCODENAME = "bowie" SUPPORTED = [