← Back to team overview

maas-devel team mailing list archive

Re: MAAS 1.9, how to connect macs to subnet?

 

Andreas,

That message is miss leading because you are correct that does not exist on
the subnet endpoint. That actually is now all done on the "interface(s)"
endpoint. You need to actually assign an interface to a subnet to connect
it. This can be done over the API or the WebUI.

maas my-maas-session interface link-subnet node-system-id eth0 mode=auto
subnet=2

Let me know if you need any more help.

Thanks,
Blake

On Fri, Jan 29, 2016 at 3:17 PM, Andreas Hasenack <andreas@xxxxxxxxxxxxx>
wrote:

> Hi,
>
> I'm trying to use the "network connect_macs" maas-cli call, but it tells
> me it's deprecated and I should use the subnet endpoint instead:
> $ maas admin network connect-macs subnet-2 macs=00:50:56:98:5a:15 ...
> ...
> 410 GONE
>
>
> The thing is, the subnet endpoint doesn't list anything remotely like
> connect_macs.
>
> How do I connect macs to subnets in MAAS 1.9?
>
> --
> Mailing list: https://launchpad.net/~maas-devel
> Post to     : maas-devel@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maas-devel
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References