ce_is_is_instance – Manages isis process id configuration on HUAWEI CloudEngine devices

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
    Choices:
  • present ←
  • absent
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
  ce_is_is_instance:
    instance_id: 3
    state: present

- name: Unset isis process
  ce_is_is_instance:
    instance_id: 3
    state: absent

- name: check isis process
  ce_is_is_instance:
    instance_id: 4294967296
    state: present

- name: Set vpn name
  ce_is_is_instance:
    instance_id: 22
    vpn_name: vpn1
    state: present

- name: check vpn name
  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
always
commands sent to the device

Sample:
['isis 1']


Status

Authors

  • xuxiaowei0512 (@CloudEngine-Ansible)

Hint

If you notice any issues in this documentation, you can edit this document to improve it.