If you tested option A, and it works, I would go for that.
I'm not a big fan of using regexes unless it makes sense. Regex matching is 'relatively computational expensive', as well for many people unfamiliar with regex, it may be hard to understand.
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
------------------------------
Original Message:
Sent: Jul 01, 2021 06:24 AM
From: Alex Sharaz
Subject: Service selection based upon multiple device groups
Hi all
Have a requirement to have a service selected only if the NAS-IP is in one of 2 defined Network Device groups
As you can't have nested groups , whats the best way of doing this?
a). use BELONGS TO <group1 name>, <group 2 name>
b). use regex to select group name e.g. " ND\(monitor|live\)" to select either of ND(monitor) or ND(live) - Does this even work ?
c). Just create another group with members from original 2 groups
Rgds
A
------------------------------
Alex Sharaz
------------------------------