From a7a79ea81ea55b01044673b9a53305f6340fa8a2 Mon Sep 17 00:00:00 2001 From: Raymond Kuiper Date: Fri, 13 Jun 2025 15:56:21 +0200 Subject: [PATCH] updated README for multiple hostgoups --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0bd6bfc..a938572 100644 --- a/README.md +++ b/README.md @@ -175,13 +175,14 @@ used: | ------------ | ------------------------ | | location | The device location name | | manufacturer | Device manufacturer name | +| rack | Rack | **Only for VMs** | name | description | | ------------ | --------------- | | cluster | VM cluster name | -| cluster_type | VM cluster type | +| device | parent device | You can specify the value seperated by a "/" like so: @@ -189,6 +190,13 @@ You can specify the value seperated by a "/" like so: hostgroup_format = "tenant/site/dev_location/role" ``` +You can also provice a list of groups like so: + +```python +hostgroup_format = ["region/site_group/site", "role", "tenant_group/tenant"] +``` + + **Group traversal** The default behaviour for `region` is to only use the directly assigned region