-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove references to Terraform because this is not Terraform
- Loading branch information
Showing
2 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,10 @@ | |
# DOCUMENTATION, EXAMPLES, and RETURN are generated by | ||
# ansible_specdoc. Do not edit them directly. | ||
|
||
DOCUMENTATION = ''' | ||
DOCUMENTATION = r""" | ||
author: Equinix DevRel Team (@equinix) <[email protected]> | ||
description: This Terraform resource doesn't create an API resource in Equinix Metal, | ||
but rather provides finer control for [Layer 2 networking](https://deploy.equinix.com/developers/docs/metal/layer2-networking/overview/). | ||
description: This module doesn't create a resource in Equinix Metal, but rather provides | ||
finer control for [Layer 2 networking](https://deploy.equinix.com/developers/docs/metal/layer2-networking/overview/). | ||
module: metal_port | ||
notes: [] | ||
options: | ||
|
@@ -33,10 +33,15 @@ | |
- UUID of native VLAN of the port | ||
required: false | ||
type: str | ||
vlan_ids: | ||
description: | ||
- UUIDs of VLANs that should be assigned to the port | ||
required: false | ||
type: list | ||
requirements: null | ||
short_description: Manage a device port in Equinix Metal | ||
''' | ||
EXAMPLES = ''' | ||
""" | ||
EXAMPLES = r""" | ||
- name: Convert port to layer 2 | ||
hosts: localhost | ||
tasks: | ||
|
@@ -50,11 +55,11 @@ | |
description: The Metal device port | ||
returned: always | ||
sample: | ||
- bonded: true | ||
bonded: true | ||
id: 7624f0f7-75b6-4271-bc64-632b80f87de2 | ||
layer2: true | ||
type: dict | ||
''' | ||
""" | ||
|
||
from ansible.module_utils._text import to_native | ||
from ansible_specdoc.objects import ( | ||
|
@@ -129,8 +134,8 @@ | |
SPECDOC_META = getSpecDocMeta( | ||
short_description='Manage a device port in Equinix Metal', | ||
description=( | ||
'This Terraform resource doesn\'t create an API resource ' | ||
'in Equinix Metal, but rather provides finer control for ' | ||
'This module doesn\'t create a resource in Equinix Metal, ' | ||
'but rather provides finer control for ' | ||
'[Layer 2 networking](https://deploy.equinix.com/developers/docs/metal/layer2-networking/overview/).' | ||
), | ||
examples=specdoc_examples, | ||
|