community.general.pn_vrouter_pim_config (0.1.1) — module

CLI command to modify vrouter-pim-config

Authors: Pluribus Networks (@rajaspachipulusu17)

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

This module can be used to modify pim parameters.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: pim config modify
  pn_vrouter_pim_config:
    pn_cliswitch: '192.168.1.1'
    pn_query_interval: '10'
    pn_querier_timeout: '30'
    state: 'update'
    pn_vrouter_name: 'ansible-spine1-vrouter'

Inputs

    
state:
    choices:
    - update
    description:
    - State the action to perform. Use C(update) to modify the vrouter-pim-config.
    required: true
    type: str

pn_cliswitch:
    description:
    - Target switch to run the CLI on.
    required: false
    type: str

pn_vrouter_name:
    description:
    - name of service config.
    required: false
    type: str

pn_hello_interval:
    description:
    - hello interval in seconds.
    required: false
    type: str

pn_query_interval:
    description:
    - igmp query interval in seconds.
    required: false
    type: str

pn_querier_timeout:
    description:
    - igmp querier timeout in seconds.
    required: false
    type: str

Outputs

changed:
  description: indicates whether the CLI caused changes on the target.
  returned: always
  type: bool
command:
  description: the CLI command run on the target node.
  returned: always
  type: str
stderr:
  description: set of error responses from the vrouter-pim-config command.
  returned: on error
  type: list
stdout:
  description: set of responses from the vrouter-pim-config command.
  returned: always
  type: list