community.network.ce_is_is_interface module – Manages isis interface configuration on HUAWEI CloudEngine devices.
Note
This module is part of the community.network collection (version 5.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_interface
.
New in community.network 0.2.0
Synopsis
Manages isis process id, creates a isis instance id or deletes a process id on HUAWEI CloudEngine devices.
Parameters
Parameter |
Comments |
---|---|
Blocking interfaces to dynamically create BFD features. The value is a bool type. Choices:
|
|
Configure static BFD on a specific interface enabled with ISIS. The value is a bool type. Choices:
|
|
A L3 interface. |
|
Specifies the id of a isis process. The value is a number of 1 to 4294967295. |
|
Specifies the link cost of the interface when performing Level-1 SPF calculation. The value is a number of 0 to 16777215. |
|
the dispriority of the level1. The value is a number of 1 to 127. |
|
Specifies the link cost of the interface when performing Level-2 SPF calculation. The value is a number of 0 to 16777215. |
|
the dispriority of the level1. The value is a number of 1 to 127. |
|
level type for three types. Choices:
|
|
Set the P2P neighbor negotiation type. Choices:
|
|
When the P2P hello packet is received, no IP address check is performed. The value is a bool type. Choices:
|
|
Interface for setting PPP link protocol to check OSICP negotiation status. The value is a bool type. Choices:
|
|
Specifies whether the routing cost of the silent interface is 0. The value is a bool type. Choices:
|
|
enable the interface can send isis message. The value is a bool type. Choices:
|
|
Enable SNPA check for LSPs and SNPs. The value is a bool type. Choices:
|
|
Determines whether the config should be present or not on the device. Choices:
|
|
Simulate the network type of the interface as P2P. The value is a bool type. Choices:
|
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:
Key |
Description |
---|---|
check to see if a change was made on the device Returned: always Sample: |
|
k/v pairs of configuration after module execution Returned: always Sample: |
|
k/v pairs of existing configuration Returned: always Sample: |
|
k/v pairs of parameters passed into module Returned: always Sample: |
|
commands sent to the device Returned: always Sample: |