scaleuptechnologies.idoit.idoit_cat_net_port module – Create or update a net_port category to an object
Note
This module is part of the scaleuptechnologies.idoit collection (version 0.20.0).
To install it, use: ansible-galaxy collection install scaleuptechnologies.idoit
.
To use it in a playbook, specify: scaleuptechnologies.idoit.idoit_cat_net_port
.
Synopsis
Adds C__CATG__NETWORK_PORT category to an object if not there or update values
Parameters
Parameter |
Comments |
---|---|
Active Choices:
|
|
Ids of the Adress Object-id |
|
Id of the Cable |
|
Standard VLAN |
|
Description of the Model |
|
Id of the duplex (1=Half, 2=Full) |
|
Id of the HBA |
|
i-doit category id to update |
|
i-doit credentials |
|
The API Key for i-doit. |
|
Return an api log of the i-doit api. Choices:
|
|
The Json RPC Url to i-doit. |
|
The password for the user. |
|
The username to login in i-doit. |
|
Id of the net_interface |
|
MAC-address |
|
MTU (Maximum Transfer Unit) |
|
Id of the negotiation (1=Automatic, 2=Manuell) |
|
i-doit object id |
|
Plug Type (RJ-45,RJ-11, LC, SC) |
|
Id of the Plug Type |
|
Mode (Standard, Stacking, Link Aggregation/Trunk) |
|
Id of the Mode |
|
Type (Ethernet, FR, ISDN, …) |
|
Id of the Type |
|
field names to compare to find a category to update. Please note, Dialog-Fields can only searched by id |
|
Speed of the Interface |
|
Unit of the Speed (bit/s,kbit/s,Mbit/s,Gbit/s) |
|
Id of Speed Unit |
|
Standard |
|
Id of Strandard |
|
State of the category Choices:
|
|
Title |
Examples
- name: Set Network Port
scaleuptechnologies.idoit.idoit_cat_net_port:
idoit: '{{ idoit_access_test }}'
mac: C8:1F:66:CA:29:51
obj_id: 4005
plug_type: RJ-45
search_by_fields:
- title
state: merge
title: eth0
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Are there changes? Returned: always |
|
New data Returned: success Sample: |
|
Category Id of the saved category Returned: success |
|
I-Doit API Result Returned: success |