Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to configure more than one interface per host #871

Closed
cmeissner opened this issue Jul 14, 2020 · 4 comments
Closed

Add possibility to configure more than one interface per host #871

cmeissner opened this issue Jul 14, 2020 · 4 comments

Comments

@cmeissner
Copy link
Member

SUMMARY

We manage (create/delete/configure) hosts via ansible module what works fine for us. But now we need a host which provides two nics with two different subnets aligned to.
As we see in the documentation of the ansible host module (link) there are only single parameter subnet, subnet6 and domain which we assume that these configure the nic.

ISSUE TYPE

It would be great if we'll be able to manage all nics of a host. Maybe convert subnet, subnet6 and domain` into list or dict object to manage more than one interface at all.
A dict can be a better choice to address interfaces by name.

@cmeissner
Copy link
Member Author

As described in API v2 documentation for creating a host. there is an interfaces array. This should be addressed by the ansible module to manage multiple interfaces i guess.

@evgeni
Copy link
Member

evgeni commented Jul 21, 2020

I think that's an duplicate of #757, which we are planning to address soon. Would you agree?

@cmeissner
Copy link
Member Author

Agreed! Is there a valid time schedule already or should we implement a workaround for a while?

@evgeni
Copy link
Member

evgeni commented Jul 21, 2020

There is no schedule, @Fobhep tried it in #792 but had some issues with it.

Best is probably to have a workaround for now :(

@evgeni evgeni closed this as completed Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants