community / community.network / 0.1.0 / module / ce_is_is_interface Manages isis interface configuration on HUAWEI CloudEngine devices. Authors: xuxiaowei0512 (@CloudEngine-Ansible)community.network.ce_is_is_interface (0.1.0) — module
Install with ansible-galaxy collection install community.network:==0.1.0
collections: - name: community.network version: 0.1.0
Manages isis process id, creates a isis instance id or deletes a process id on HUAWEI CloudEngine devices.
- 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 ce_is_is_interface: instance_id: 3 ifname: Eth-Trunk10 leveltype: level_1_2 state: present
- name: Set isis level1dispriority ce_is_is_interface: instance_id: 3 ifname: Eth-Trunk10 level1dispriority: 0 state: present
- name: Set isis level2dispriority ce_is_is_interface: instance_id: 3 ifname: Eth-Trunk10 level2dispriority: 0 state: present
- name: Set isis silentenable 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
state: choices: - present - absent default: present description: - Determines whether the config should be present or not on the device. type: str ifname: description: - A L3 interface. required: true type: str leveltype: choices: - level_1 - level_2 - level_1_2 description: - level type for three types. type: str snpacheck: description: - Enable SNPA check for LSPs and SNPs. The value is a bool type. type: bool bfdblocken: description: - Blocking interfaces to dynamically create BFD features. The value is a bool type. type: bool level1cost: description: - Specifies the link cost of the interface when performing Level-1 SPF calculation. The value is a number of 0 to 16777215. type: int level2cost: description: - Specifies the link cost of the interface when performing Level-2 SPF calculation. The value is a number of 0 to 16777215. type: int silentcost: description: - Specifies whether the routing cost of the silent interface is 0. The value is a bool type. type: bool bfdstaticen: description: - Configure static BFD on a specific interface enabled with ISIS. The value is a bool type. type: bool instance_id: description: - Specifies the id of a isis process. The value is a number of 1 to 4294967295. required: true type: int silentenable: description: - enable the interface can send isis message. The value is a bool type. type: bool typep2penable: description: - Simulate the network type of the interface as P2P. The value is a bool type. type: bool p2ppeeripignore: description: - When the P2P hello packet is received, no IP address check is performed. The value is a bool type. type: bool level1dispriority: description: - the dispriority of the level1. The value is a number of 1 to 127. type: int level2dispriority: description: - the dispriority of the level1. The value is a number of 1 to 127. type: int p2pnegotiationmode: choices: - 2_way - 3_way - 3_wayonly description: - Set the P2P neighbor negotiation type. type: str ppposicpcheckenable: description: - Interface for setting PPP link protocol to check OSICP negotiation status. The value is a bool type. type: bool
changed: description: check to see if a change was made on the device returned: always sample: true type: bool end_state: description: k/v pairs of configuration after module execution returned: always sample: session: addrType: IPV4 createType: SESS_STATIC destAddr: null outIfName: 10GE1/0/1 sessName: bfd_l2link srcAddr: null useDefaultIp: 'true' vrfName: null type: dict existing: description: k/v pairs of existing configuration returned: always sample: session: {} type: dict proposed: description: k/v pairs of parameters passed into module returned: always sample: addr_type: null create_type: null dest_addr: null out_if_name: 10GE1/0/1 session_name: bfd_l2link src_addr: null state: present use_default_ip: true vrf_name: null type: dict updates: description: commands sent to the device returned: always sample: - bfd bfd_l2link bind peer-ip default-ip interface 10ge1/0/1 type: list