Comment 2 for bug 1876180

Revision history for this message
Lee Trager (ltrager) wrote :

Interface constraints require some kind of attribute. They should also be associated with a subnet so I think the UI should automatically select the first subnet where managed = True.

In the case of no IP assigned the UI will send:
"interfaces": "eth0:subnet_cidr=10.249.0.0/21;eth1:subnet_cidr=172.16.99.0/24",

In the case where IPs are assigned the UI will send:
"interfaces": "eth0:subnet_cidr=10.249.0.0/21,ip=10.249.0.100;eth1:subnet_cidr=172.16.99.0/24,172.16.99.100",