community.general.ce_is_is_instance (0.1.1) — module

Manages isis process id 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 process
    ce_is_is_instance:
      instance_id: 3
      state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Unset isis process
    ce_is_is_instance:
      instance_id: 3
      state: absent
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: check isis process
    ce_is_is_instance:
      instance_id: 4294967296
      state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Set vpn name
    ce_is_is_instance:
      instance_id: 22
      vpn_name: vpn1
      state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: check vpn name
    ce_is_is_instance:
      instance_id: 22
      vpn_name: vpn1234567896321452212221556asdasdasdasdsadvdv
      state: present

Inputs

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

vpn_name:
    description:
    - VPN Instance, associate the VPN instance with the corresponding IS-IS process.
    type: str

instance_id:
    description:
    - Specifies the id of a isis process.The value is a number of 1 to 4294967295.
    required: true
    type: int

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:
      instance_id: 1
      vpn_name: 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:
    instance_id: 1
    vpn_name: null
  type: dict
updates:
  description: commands sent to the device
  returned: always
  sample:
  - isis 1
  type: list