-
Notifications
You must be signed in to change notification settings - Fork 137
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 resource dedicated_server_networking #351
Conversation
|
||
## Example Usage | ||
|
||
The following example aims to bond all interfaces in vRack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following example aims to bond all interfaces in vRack. | |
The following example aims to bind all interfaces in a vRack |
service_name = local.dedicated_server | ||
# Bond the two first interfaces in the first vrack | ||
interfaces { | ||
macs = slice(sort(flatten(data.ovh_dedicated_server.server.vnis.*.nics)), 0, 2), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macs = slice(sort(flatten(data.ovh_dedicated_server.server.vnis.*.nics)), 0, 2), | |
macs = slice(sort(flatten(data.ovh_dedicated_server.server.vnis.*.nics)), 0, 2) |
} | ||
# Bond the two last interfaces in the last vrack | ||
interfaces { | ||
macs = slice(sort(flatten(data.ovh_dedicated_server.server.vnis.*.nics)), 2, 4), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macs = slice(sort(flatten(data.ovh_dedicated_server.server.vnis.*.nics)), 2, 4), | |
macs = slice(sort(flatten(data.ovh_dedicated_server.server.vnis.*.nics)), 2, 4) |
} | ||
# Bond the two last interfaces in the last vrack | ||
interfaces { | ||
macs = slice(sort(flatten(data.ovh_dedicated_server.server.vnis.*.nics)), 2, 4), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macs = slice(sort(flatten(data.ovh_dedicated_server.server.vnis.*.nics)), 2, 4), | |
macs = slice(sort(flatten(data.ovh_dedicated_server.server.vnis.*.nics)), 2, 4) |
|
||
The following arguments are required: | ||
|
||
* `service_name` - (String) The service_name of your dedicated server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `service_name` - (String) The service_name of your dedicated server. | |
* `service_name` - (String) The service_name of your dedicated server. The full list of available dedicated servers can be found using the `ovh_dedicated_servers` datasource. |
|
||
Required: | ||
|
||
* `macs` (List of String) List of mac addresses to bond together. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* `macs` (List of String) List of mac addresses to bond together. | |
* `macs` (List of String) List of mac addresses to bind together. |
b71d02a
to
644a2b4
Compare
610b941
to
3c8d098
Compare
Signed-off-by: Wilfried Roset <[email protected]>
3c8d098
to
543a89f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's now OK for me :-)
Tested with my account