Replies: 2 comments 2 replies
-
Hey Arthur, currently there is no option to directly exclude something, so you should focus on including only those devices you need for the tests. For example, if you don't have plenty of devices, tags can be a good option. Just mark all your devices with an appropriate tag and then use it in a selector. |
Beta Was this translation helpful? Give feedback.
2 replies
-
OK, this sounds a bit advanced for me, its getting late, I will think about
it tomorrow !
Thank you my friend
…On Thu 10 Oct 2024 at 20:47, Anton ***@***.***> wrote:
Yeah, I think it's possible, but would be no so easy to implement. Right
now Selector is connected to other related models (like Site or Tenant)
through Many-To-Many relationship. So, adding an auxiliary boolean field
like "exclude" to this m2m table would allow to model negative components
of the Selector in the DB. The more difficult part is to make the right
form for this.
—
Reply to this email directly, view it on GitHub
<#133 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2DITZFXQB2KHZG2SNMVL3TZ23DVRAVCNFSM6AAAAABPUSSMMKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOJQG43DOMQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi !
I was wondering if it could be possible to exclude a Tenant or a Site from doing certains tests.
For exemple, for a Cisco Router, 2 tests :
- I will check that the NTP Server is set accordingly to a value.
- I will check that
no ip http server
andno ip http secure-server
are setFor almost every Tenants, I will want to execute both tests, but for some clients which could have their own NTP server, I don't want to execute the NTP Server test as I know it will not be complient and it is not supposed to be anyway.
I thought of doing multiple selectors but it seems messy and not that easy to keep updated and clean. So I was wondering if anyone had an idea !
Thank you for your input !
Arthur
Beta Was this translation helpful? Give feedback.
All reactions