community.general.ce_is_is_view (0.1.1) — module

Manages isis view configuration on HUAWEI CloudEngine devices.

Authors: xuxiaowei0512 (@CloudEngine-Ansible)

preview | supported by community

Install collection

Install with ansible-galaxy collection install community.general:==0.1.1


Add to requirements.yml

  collections:
    - name: community.general
      version: 0.1.1

Description

Manages isis process id, creates a isis instance id or deletes a process id on HUAWEI CloudEngine devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Set isis description
    ce_is_is_view:
      instance_id: 3
      description: abcdeggfs
      state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Set isis islevel
    ce_is_is_view:
      instance_id: 3
      islevel: level_1
      state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Set isis coststyle
    ce_is_is_view:
      instance_id: 3
      coststyle: narrow
      state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Set isis stdlevel1cost
    ce_is_is_view:
      instance_id: 3
      stdlevel1cost: 63
      state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: set isis stdlevel2cost
    ce_is_is_view:
      instance_id: 3
      stdlevel2cost: 63
      state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: set isis stdbandwidth
    ce_is_is_view:
      instance_id: 3
      stdbandwidth: 1
      state: present

Inputs

    
tag:
    description:
    - Specifies the isis tag.
    type: int

cost:
    description:
    - Specifies the bfd cost.
    type: int

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Determines whether the config should be present or not on the device.
    type: str

weight:
    description:
    - Specifies the isis weight.
    type: int

islevel:
    choices:
    - level_1
    - level_2
    - level_1_2
    description:
    - Specifies the isis level.
    type: str

max_load:
    description:
    - Specifies route max load.
    type: int

mode_tag:
    description:
    - Specifies the tag of mode.
    type: int

protocol:
    choices:
    - direct
    - ospf
    - isis
    - static
    - rip
    - bgp
    - ospfv3
    - all
    description:
    - Specifies the protocol.
    type: str

cost_type:
    choices:
    - external
    - internal
    description:
    - Specifies the cost type.
    type: str

coststyle:
    choices:
    - narrow
    - wide
    - transition
    - ntransition
    - wtransition
    description:
    - Specifies the cost style.
    type: str

netentity:
    description:
    - Specifies the netentity.
    type: str

processid:
    description:
    - Specifies the process id.
    type: int

bfd_min_rx:
    description:
    - Specifies the bfd min received package.
    type: int

bfd_min_tx:
    description:
    - Specifies the bfd min sent package.
    type: int

import_tag:
    description:
    - Specifies import tag.
    type: int

ip_address:
    description:
    - Specifies ip address.
    type: str

level_type:
    choices:
    - level_1
    - level_2
    - level_1_2
    description:
    - Specifies the isis level type.
    type: str

permitibgp:
    description:
    - Specifies the permitibgp.
    type: bool

defaultmode:
    choices:
    - always
    - matchDefault
    - matchAny
    description:
    - Specifies the default mode.
    type: str

description:
    description:
    - Specifies description of isis.
    type: str

import_cost:
    description:
    - Specifies import cost.
    type: int

inheritcost:
    description:
    - Enable inherit cost.
    type: bool

instance_id:
    description:
    - Specifies instance id.
    type: int

allow_filter:
    description:
    - Specifies the alow filter or not.
    type: bool

stdbandwidth:
    description:
    - Specifies the std band width.
    type: int

allow_up_down:
    description:
    - Specifies the alow up or down.
    type: bool

relaxspfLimit:
    description:
    - Specifies enable the relax spf limit.
    type: bool

stdlevel1cost:
    description:
    - Specifies the std level1 cost.
    type: int

stdlevel2cost:
    description:
    - Specifies the std level2 cost.
    type: int

aclnum_or_name:
    description:
    - Specifies the acl number or name for isis.
    type: str

autocostenable:
    description:
    - Specifies the alow auto cost enable.
    type: bool

avoid_learning:
    description:
    - Specifies the alow avoid learning.
    type: bool

ip_prefix_name:
    description:
    - Specifies ip prefix name.
    type: str

export_ipprefix:
    description:
    - Specifies export ip prefix.
    type: str

export_protocol:
    choices:
    - direct
    - ospf
    - isis
    - static
    - rip
    - bgp
    - ospfv3
    - all
    description:
    - Specifies the export router protocol.
    type: str

import_ipprefix:
    description:
    - Specifies import ip prefix.
    type: str

export_processid:
    description:
    - Specifies export process id.
    type: int

impotr_leveltype:
    choices:
    - level_1
    - level_2
    - level_1_2
    description:
    - Specifies the export router protocol.
    type: str

preference_value:
    description:
    - Specifies the preference value.
    type: int

export_policytype:
    choices:
    - aclNumOrName
    - ipPrefix
    - routePolicy
    description:
    - Specifies the default mode.
    type: str

route_policy_name:
    description:
    - Specifies the route policy name.
    type: str

bfd_multiplier_num:
    description:
    - Specifies the bfd multiplier number.
    type: int

penetration_direct:
    choices:
    - level2-level1
    - level1-level2
    description:
    - Specifies the penetration direct.
    type: str

export_aclnumorname:
    description:
    - Specifies export acl number or name.
    type: str

import_aclnumorname:
    description:
    - Specifies import acl number or name.
    type: str

import_route_policy:
    description:
    - Specifies import route policy.
    type: str

enablelevel1tolevel2:
    description:
    - Enable level1 to level2.
    type: bool

mode_routepolicyname:
    description:
    - Specifies the mode of route polic yname.
    type: str

export_routepolicyname:
    description:
    - Specifies export route policy name.
    type: str

import_routepolicyname:
    description:
    - Specifies import route policy name.
    type: str

import_routepolicy_name:
    description:
    - Specifies import route policy name.
    type: str

autocostenablecompatible:
    description:
    - Specifies the alow auto cost enable compatible.
    type: bool

Outputs

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:
    state: present
  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