scaleuptechnologies.idoit.idoit_cat_layer2_net module – Create or update a layer2_net 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_layer2_net
.
Synopsis
Adds C__CATS__LAYER2_NET category to an object if not there or update values
Parameters
Parameter |
Comments |
---|---|
Description of the Layer2 Net |
|
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. |
|
i-doit object id |
|
Standard VLAN Choices:
|
|
State of the category Choices:
|
|
Subtype |
|
Id of Subtyp |
|
Typ |
|
Id of Typ |
|
VLAN Id |
|
VRF |
|
VRF Capacity |
|
Unit of the vrf_capacity (bit/s,kbit/s,Mbit/s,Gbit/s) |
|
Id of vrf_capacity unit |
Examples
- name: Create a new VLAN
scaleuptechnologies.idoit.idoit_cat_layer2_net:
id: 2
idoit: '{{ idoit_access }}'
obj_id: 1320
title: Customer 70142 [42]
vlan_id: 42
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 |