W3cubDocs

/Ansible

community.network.ce_is_is_view – Manages isis view 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_view.

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
aclnum_or_name
string
Specifies the acl number or name for isis.
allow_filter
boolean
    Choices:
  • no
  • yes
Specifies the alow filter or not.
allow_up_down
boolean
    Choices:
  • no
  • yes
Specifies the alow up or down.
autocostenable
boolean
    Choices:
  • no
  • yes
Specifies the alow auto cost enable.
autocostenablecompatible
boolean
    Choices:
  • no
  • yes
Specifies the alow auto cost enable compatible.
avoid_learning
boolean
    Choices:
  • no
  • yes
Specifies the alow avoid learning.
bfd_min_rx
integer
Specifies the bfd min received package.
bfd_min_tx
integer
Specifies the bfd min sent package.
bfd_multiplier_num
integer
Specifies the bfd multiplier number.
cost
integer
Specifies the bfd cost.
cost_type
string
    Choices:
  • external
  • internal
Specifies the cost type.
coststyle
string
    Choices:
  • narrow
  • wide
  • transition
  • ntransition
  • wtransition
Specifies the cost style.
defaultmode
string
    Choices:
  • always
  • matchDefault
  • matchAny
Specifies the default mode.
description
string
Specifies description of isis.
enablelevel1tolevel2
boolean
    Choices:
  • no
  • yes
Enable level1 to level2.
export_aclnumorname
string
Specifies export acl number or name.
export_ipprefix
string
Specifies export ip prefix.
export_policytype
string
    Choices:
  • aclNumOrName
  • ipPrefix
  • routePolicy
Specifies the default mode.
export_processid
integer
Specifies export process id.
export_protocol
string
    Choices:
  • direct
  • ospf
  • isis
  • static
  • rip
  • bgp
  • ospfv3
  • all
Specifies the export router protocol.
export_routepolicyname
string
Specifies export route policy name.
import_aclnumorname
string
Specifies import acl number or name.
import_cost
integer
Specifies import cost.
import_ipprefix
string
Specifies import ip prefix.
import_route_policy
string
Specifies import route policy.
import_routepolicy_name
string
Specifies import route policy name.
import_routepolicyname
string
Specifies import route policy name.
import_tag
integer
Specifies import tag.
impotr_leveltype
string
    Choices:
  • level_1
  • level_2
  • level_1_2
Specifies the export router protocol.
inheritcost
boolean
    Choices:
  • no
  • yes
Enable inherit cost.
instance_id
integer
Specifies instance id.
ip_address
string
Specifies ip address.
ip_prefix_name
string
Specifies ip prefix name.
islevel
string
    Choices:
  • level_1
  • level_2
  • level_1_2
Specifies the isis level.
level_type
string
    Choices:
  • level_1
  • level_2
  • level_1_2
Specifies the isis level type.
max_load
integer
Specifies route max load.
mode_routepolicyname
string
Specifies the mode of route polic yname.
mode_tag
integer
Specifies the tag of mode.
netentity
string
Specifies the netentity.
penetration_direct
string
    Choices:
  • level2-level1
  • level1-level2
Specifies the penetration direct.
permitibgp
boolean
    Choices:
  • no
  • yes
Specifies the permitibgp.
preference_value
integer
Specifies the preference value.
processid
integer
Specifies the process id.
protocol
string
    Choices:
  • direct
  • ospf
  • isis
  • static
  • rip
  • bgp
  • ospfv3
  • all
Specifies the protocol.
relaxspfLimit
boolean
    Choices:
  • no
  • yes
Specifies enable the relax spf limit.
route_policy_name
string
Specifies the route policy name.
state
string
    Choices:
  • present
  • absent
Determines whether the config should be present or not on the device.
stdbandwidth
integer
Specifies the std band width.
stdlevel1cost
integer
Specifies the std level1 cost.
stdlevel2cost
integer
Specifies the std level2 cost.
tag
integer
Specifies the isis tag.
weight
integer
Specifies the isis weight.

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 description
  community.network.ce_is_is_view:
    instance_id: 3
    description: abcdeggfs
    state: present

- name: Set isis islevel
  community.network.ce_is_is_view:
    instance_id: 3
    islevel: level_1
    state: present
- name: Set isis coststyle
  community.network.ce_is_is_view:
    instance_id: 3
    coststyle: narrow
    state: present

- name: Set isis stdlevel1cost
  community.network.ce_is_is_view:
    instance_id: 3
    stdlevel1cost: 63
    state: present

- name: Set isis stdlevel2cost
  community.network.ce_is_is_view:
    instance_id: 3
    stdlevel2cost: 63
    state: present

- name: Set isis stdbandwidth
  community.network.ce_is_is_view:
    instance_id: 3
    stdbandwidth: 1
    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': {'addrType': 'IPV4', 'createType': 'SESS_STATIC', 'destAddr': None, 'outIfName': '10GE1/0/1', 'sessName': 'bfd_l2link', 'srcAddr': None, 'useDefaultIp': 'true', 'vrfName': None}}
existing
dictionary
always
k/v pairs of existing configuration

Sample:
{'session': {}}
proposed
dictionary
always
k/v pairs of parameters passed into module

Sample:
{'state': 'present'}
updates
list / elements=string
always
commands sent to the device

Sample:
['bfd bfd_l2link bind peer-ip default-ip interface 10ge1/0/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_view_module.html