SHARE
TWEET

Untitled

a guest Apr 20th, 2019 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. GENERATOR_VERSION: '1.0'
  3.  
  4. ANSIBLE_METADATA:
  5.   metadata_version: '1.1',
  6.   status: 'preview',
  7.   supported_by: 'Ansible Network'
  8.  
  9. NETWORK_OS: junos
  10. RESOURCE: interfaces
  11. COPYRIGHT: Copyright 2019 Red Hat
  12.  
  13. DOCUMENTATION:
  14.   module: junos_interfaces
  15.   version_added: 2.9
  16.   short_description: This module provides configuration management of Interfaces on Juniper JUNOS network devices.
  17.   description: Manage Interface on Juniper JUNOS network devices.
  18.   author: Ganesh Nalawade (@ganeshrn)
  19.   options:
  20.     config:
  21.       description: The provided configuration
  22.       type: list
  23.       elements: dict
  24.       suboptions:
  25.         description:
  26.           description:
  27.           - This option represnets a text description of the interface.
  28.           type: str
  29.         duplex:
  30.           default: automatic
  31.           description:
  32.           - This option configures the link mode for given interface I(name), the link
  33.             can be configured either in half duplex, full duplex or in automatic state
  34.             which negotiates the duplex automatically.
  35.           type: str
  36.         enable:
  37.           default: true
  38.           description:
  39.           - This option takes a boolean value which controls state of the interface.
  40.             If value is C(True) the inerfaces is enabled, if value is C(False) interface
  41.             is disabled.
  42.           type: bool
  43.         hold_time:
  44.           description:
  45.           - This option configures the hold time for given interface name.
  46.           type: dict
  47.           suboptions:
  48.             - down:
  49.                 description:
  50.                 - This options represents link down hold time in milliseconds.
  51.                 type: int
  52.             - up:
  53.                 description:
  54.                 - This options represents link up hold time in milliseconds.
  55.                 type: int
  56.           required_one_of: [('down', 'up')]
  57.         mtu:
  58.           description:
  59.           - This option configures the maximum transmit package size for the given interface
  60.             I(name).
  61.           type: str
  62.         name:
  63.           description:
  64.           - The complete name of the interface to be managed, the interface name should
  65.             be in same format as seen in the running configurtion.
  66.           type: str
  67.         speed:
  68.           description:
  69.           - This option configures the link speed for the given interface I(name).
  70.           type: str
  71.     state:
  72.       choices:
  73.       - merged
  74.       - replaced
  75.       - overridden
  76.       - deleted
  77.       default: merged
  78.       description:
  79.       - The state the configuration should be left in
  80.       type: str
  81.  
  82.     mutually_exclusive: [['name', 'aggregate']]
  83.     supports_check_mode: True
  84.  
  85. EXAMPLES:
  86.   - deleted_example_01.txt
  87.   - merged_example_01.txt
  88.   - overridden_example_01.txt
  89.   - replaced_example_01.txt
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top