How to use MAAS constraints?

Hi Heitor, answers below.

  1. Yes
  2. Arbitrary boolean logic is not supported. Only AND (the default), and NOT (the ^)
  3. You cannot. See #2
  4. See Juju constraints (apparently only available on Discourse for some reason)
  5. Yes

I suggest you file an RFE bug for the features you would like to see.

Hope this helps.