1

I would like to set-constraint in juju for a machine with two nics to be provisioned only. How can I do that?

2 Answers 2

1

At the moment MAAS does not support this ability. We are working towards this feature in MAAS 1.9, which will be released with Ubuntu 15.10.

MAAS 2.1 Supports Interface Tags - on the machine details page you can tag interfaces.

2
  • Is it not possible to create a tag using MAAS? There must be a way to get that information from the “lshw” utility as mentioned in the link. Commented May 8, 2015 at 7:17
  • You can tag any machine what every you want. So if that fits the use case that is fine. Support for this will be coming in 1.9 to allow this to be native, where charms can require that two nics be present.
    – Blake R
    Commented May 12, 2015 at 15:41
1

A "network" constraint can be set.

Network constraint explained: Comma-delimited list of networks that must be available to the machine. Networks that must not be available to the machine are prefixed with a "^". For example. "db,^dmz". Currently only supported by MaaS.

juju also supports network spaces now using which a charm can be deployed on nodes that have connectivity to specific networks.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .