community.network.ce_is_is_interface – Manages isis interface configuration on HUAWEI CloudEngine devices.¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.ce_is_is_interface
.
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¶
Notes¶
Note
Interface must already be a L3 port when using this module.
This module requires the netconf system service be enabled on the remote device being managed.
This module works with connection
netconf
.
Examples¶
- name: "create vlan and config vlanif"
ce_config:
lines: 'vlan {{ test_vlan_id }},quit,interface {{test_intf_vlanif}},ip address {{test_vlanif_ip}} 24'
match: none
- name: "create eth-trunk and config eth-trunk"
ce_config:
lines: 'interface {{test_intf_trunk}},undo portswitch,ip address {{test_trunk_ip}} 24'
match: none
- name: "create vpn instance"
ce_config:
lines: 'ip vpn-instance {{test_vpn}},ipv4-family'
match: none
- name: Set isis circuit-level
community.network.ce_is_is_interface:
instance_id: 3
ifname: Eth-Trunk10
leveltype: level_1_2
state: present
- name: Set isis level1dispriority
community.network.ce_is_is_interface:
instance_id: 3
ifname: Eth-Trunk10
level1dispriority: 0
state: present
- name: Set isis level2dispriority
community.network.ce_is_is_interface:
instance_id: 3
ifname: Eth-Trunk10
level2dispriority: 0
state: present
- name: Set isis silentenable
community.network.ce_is_is_interface:
instance_id: 3
ifname: Eth-Trunk10
silentenable: true
state: present
- name: Set vpn name
ce_is_is_instance:
instance_id: 22
vpn_name: vpn1
state: present
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
xuxiaowei0512 (@CloudEngine-Ansible)