Skip to content

Commit

Permalink
fix bonded parameter; it is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma committed Sep 26, 2024
1 parent d31629f commit 43b6913
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Equinix Ansible Collection

[![Ansible Galaxy](https://img.shields.io/badge/galaxy-equinix.cloud-660198.svg?style=flat)](https://galaxy.ansible.com/ui/repo/published/equinix/cloud/)
![Tests](https://img.shields.io/github/actions/workflow/status/equinix/ansible-collection-equinix/integration-tests.yml?branch=main)
[![Equinix Community](https://img.shields.io/badge/Equinix%20Community%20-%20%23E91C24?logo=equinixmetal)](https://community.equinix.com)

This is repository for Ansible collection registered in Ansible Galaxy as [equinix.cloud](https://galaxy.ansible.com/ui/repo/published/equinix/cloud/). The collection contains various plugins for managing Equinix services.

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/metal_port.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ This module doesn't create a resource in Equinix Metal, but rather provides fine
| Field | Type | Required | Description |
|-----------|------|----------|------------------------------------------------------------------------------|
| `id` | <center>`str`</center> | <center>**Required**</center> | UUID of the port. |
| `bonded` | <center>`bool`</center> | <center>**Required**</center> | Whether the port should be bonded. |
| `bonded` | <center>`bool`</center> | <center>Optional</center> | Whether the port should be bonded. **(Updatable)** |
| `layer2` | <center>`bool`</center> | <center>Optional</center> | Whether the port should be in Layer 2 mode. **(Updatable)** |
| `vlan_ids` | <center>`list`</center> | <center>Optional</center> | UUIDs of VLANs that should be assigned to the port **(Updatable)** |
| `native_vlan_id` | <center>`str`</center> | <center>Optional</center> | UUID of native VLAN of the port **(Updatable)** |
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/metal_port.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
bonded=SpecField(
type=FieldType.bool,
description=['Whether the port should be bonded.'],
required=True,
editable=True,
),
layer2=SpecField(
type=FieldType.bool,
Expand Down

0 comments on commit 43b6913

Please sign in to comment.