scaleuptechnologies.idoit.idoit_cat_net_log_port module – Create or update a net_log_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_log_port
.
Synopsis
Adds C__CATG__NETWORK_LOG_PORT category to an object if not there or update values
Parameters
Parameter |
Comments |
---|---|
Active Choices:
|
|
Ids of the Adress Object-id |
|
Description of the Model |
|
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 Layer2 Network (if VLAN) |
|
MAC-address |
|
i-doit object id |
|
Parent |
|
Id of the physical port |
|
Type |
|
Id of the port_type |
|
field names to compare to find a category to update. Please note, Dialog-Fields can only searched by id |
|
Standard |
|
Id of Strandard |
|
State of the category Choices:
|
|
Title |
Examples
- name: Set Network Logical Port
scaleuptechnologies.idoit.idoit_cat_net_log_port:
idoit: '{{ idoit_access_test }}'
mac: C8:1F:66:CA:29:51
obj_id: 4005
ports:
- eth0
- eth1
search_by_fields:
- title
state: merge
title: bond0
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 |