scaleuptechnologies.idoit.idoit_cat_net_interface module – Create or update a net_interface 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_interface
.
Synopsis
Adds C__CATG__NETWORK_INTERFACE category to an object if not there or update values
Parameters
Parameter |
Comments |
---|---|
Description of the Model |
|
Firmware |
|
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. |
|
Name of Manufactuerer of the device, if not there it will be created |
|
Id of Manufactuerer of the device |
|
Model of the device, if not there it will be created |
|
Id of Model of the device |
|
i-doit object id |
|
field names to compare to find a category to update. Please note, Dialog-Fields can only searched by id |
|
Serial number |
|
Slotnumber |
|
State of the category Choices:
|
|
Title |
Examples
- name: Set Network Interface
scaleuptechnologies.idoit.idoit_net_interface:
idoit: '{{ idoit_access_test }}'
manufacturer: Broadcom Corp
model: Broadcom Gigabit Ethernet BCM5720
obj_id: 4005
search_by_fields:
- title
serial: C8 1F 66 CA 29 51
slot: NIC.Embedded.1-1-1
title: NIC.Embedded.1-1-1 C8 1F 66 CA 29 51
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 |