On this page
community.network.ce_is_is_instance – Manages isis process id configuration on HUAWEI CloudEngine devices.
Note
This plugin is part of the community.network collection (version 3.0.0).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.ce_is_is_instance
.
New in version 0.2.0: of community.network
Synopsis
- Manages isis process id, creates a isis instance id or deletes a process id on HUAWEI CloudEngine devices.
Parameters
Parameter | Choices/Defaults | Comments |
---|---|---|
instance_id
integer / required
|
Specifies the id of a isis process.The value is a number of 1 to 4294967295.
|
|
state
string
|
|
Determines whether the config should be present or not on the device.
|
vpn_name
string
|
VPN Instance, associate the VPN instance with the corresponding IS-IS process.
|
Notes
Note
- This module requires the netconf system service be enabled on the remote device being managed.
- This module works with connection
netconf
.
Examples
- name: Set isis process
community.network.ce_is_is_instance:
instance_id: 3
state: present
- name: Unset isis process
community.network.ce_is_is_instance:
instance_id: 3
state: absent
- name: Check isis process
community.network.ce_is_is_instance:
instance_id: 4294967296
state: present
- name: Set vpn name
community.network.ce_is_is_instance:
instance_id: 22
vpn_name: vpn1
state: present
- name: Check vpn name
community.network.ce_is_is_instance:
instance_id: 22
vpn_name: vpn1234567896321452212221556asdasdasdasdsadvdv
state: present
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
changed
boolean
|
always |
check to see if a change was made on the device
Sample:
True
|
end_state
dictionary
|
always |
k/v pairs of configuration after module execution
Sample:
{'session': {'instance_id': 1, 'vpn_name': None}}
|
existing
dictionary
|
always |
k/v pairs of existing configuration
Sample:
{'session': {}}
|
proposed
dictionary
|
always |
k/v pairs of parameters passed into module
Sample:
{'instance_id': 1, 'vpn_name': None}
|
updates
list / elements=string
|
always |
commands sent to the device
Sample:
['isis 1']
|
Authors
- xuxiaowei0512 (@CloudEngine-Ansible)
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/network/ce_is_is_instance_module.html