threefoldtecharchive / 0-templates

0-robot templates
Apache License 2.0
1 stars 1 forks source link

adapt network template to allow to pass interfaces in the schema #275

Closed zaibon closed 5 years ago

zaibon commented 5 years ago

The network template needs to be adapted to optionally accept the interfaces to be used to configure the network. It can be up to 2 interfaces in case bond is True.

So if the interfaces are specified, then we use don't do any auto discovery of the interfaces when configuring the network and we just use what is specified in the template. If the interfaces are not specified, then we use the current flow where the ZOS SAL does some discovery of the interfaces that could be use.