Skip to content

Commit

Permalink
Merge "release: 2.1.6" into latest
Browse files Browse the repository at this point in the history
  • Loading branch information
grafuls authored and gerritforge-ltd committed Dec 10, 2024
2 parents 14deaaf + 13d5c8b commit d905e1d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion conf/quads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down
8 changes: 4 additions & 4 deletions docs/quads-host-metadata-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 7 additions & 1 deletion rpm/quads.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -230,6 +230,12 @@ find /opt/quads/ | grep -E "(/__pycache__$|\.pyc$|\.pyo$)" | xargs rm -rf

%changelog

* Mon Dec 09 2024 Will Foster <[email protected]>
- 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 <[email protected]>
- 2.1.5 Release

Expand Down
2 changes: 1 addition & 1 deletion src/quads/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def API_URL(self):

FPING_TIMEOUT = 10000

QUADSVERSION = "2.1.5"
QUADSVERSION = "2.1.6"
QUADSCODENAME = "bowie"

SUPPORTED = [
Expand Down

0 comments on commit d905e1d

Please sign in to comment.