summaryrefslogtreecommitdiff
path: root/lib/ansible/module_utils/network/junos/argspec
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/module_utils/network/junos/argspec')
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/facts/facts.py22
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/interfaces/interfaces.py56
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/l2_interfaces/l2_interfaces.py49
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/l3_interfaces/l3_interfaces.py37
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/lacp/lacp.py47
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/lacp_interfaces/lacp_interfaces.py53
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/lag_interfaces/lag_interfaces.py51
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/lldp_global/lldp_global.py47
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/lldp_interfaces/lldp_interfaces.py45
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/static_routes/static_routes.py73
-rw-r--r--lib/ansible/module_utils/network/junos/argspec/vlans/vlans.py49
11 files changed, 0 insertions, 529 deletions
diff --git a/lib/ansible/module_utils/network/junos/argspec/facts/facts.py b/lib/ansible/module_utils/network/junos/argspec/facts/facts.py
deleted file mode 100644
index 5b90f847e9..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/facts/facts.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-"""
-The arg spec for the junos facts module.
-"""
-
-
-class FactsArgs(object):
- """ The arg spec for the junos facts module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {
- 'gather_subset': dict(default=['!config'], type='list'),
- 'config_format': dict(default='text', choices=['xml', 'text', 'set', 'json']),
- 'gather_network_resources': dict(type='list'),
- }
diff --git a/lib/ansible/module_utils/network/junos/argspec/interfaces/interfaces.py b/lib/ansible/module_utils/network/junos/argspec/interfaces/interfaces.py
deleted file mode 100644
index 5710a07500..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/interfaces/interfaces.py
+++ /dev/null
@@ -1,56 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-#############################################
-# WARNING #
-#############################################
-#
-# This file is auto generated by the resource
-# module builder playbook.
-#
-# Do not edit this file manually.
-#
-# Changes to this file will be over written
-# by the resource module builder.
-#
-# Changes should be made in the model used to
-# generate this file or in the resource module
-# builder template.
-#
-#############################################
-
-"""
-The arg spec for the junos_interfaces module
-"""
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-class InterfacesArgs(object):
- """The arg spec for the junos_interfaces module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {'config': {'elements': 'dict',
- 'options': {'description': {'type': 'str'},
- 'duplex': {'choices': ['automatic',
- 'full-duplex',
- 'half-duplex'],
- 'type': 'str'},
- 'enabled': {'default': True, 'type': 'bool'},
- 'hold_time': {'options': {'down': {'type': 'int'},
- 'up': {'type': 'int'}},
- 'required_together': [['down', 'up']],
- 'type': 'dict'},
- 'mtu': {'type': 'int'},
- 'name': {'required': True, 'type': 'str'},
- 'speed': {'type': 'str'}},
- 'type': 'list'},
- 'state': {'choices': ['merged', 'replaced', 'overridden', 'deleted'],
- 'default': 'merged',
- 'type': 'str'}}
diff --git a/lib/ansible/module_utils/network/junos/argspec/l2_interfaces/l2_interfaces.py b/lib/ansible/module_utils/network/junos/argspec/l2_interfaces/l2_interfaces.py
deleted file mode 100644
index 1afad9e923..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/l2_interfaces/l2_interfaces.py
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-#############################################
-# WARNING #
-#############################################
-#
-# This file is auto generated by the resource
-# module builder playbook.
-#
-# Do not edit this file manually.
-#
-# Changes to this file will be over written
-# by the resource module builder.
-#
-# Changes should be made in the model used to
-# generate this file or in the resource module
-# builder template.
-#
-#############################################
-
-"""
-The arg spec for the junos_l2_interfaces module
-"""
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-class L2_interfacesArgs(object):
- """The arg spec for the junos_l2_interfaces module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {'config': {'elements': 'dict',
- 'options': {'access': {'type': 'dict', 'options': {'vlan': {'type': 'str'}}},
- 'name': {'required': True, 'type': 'str'},
- 'trunk': {'type': 'dict', 'options': {'allowed_vlans': {'type': 'list'},
- 'native_vlan': {'type': 'str'}}},
- 'unit': {'type': 'int'},
- 'enhanced_layer': {'type': 'bool'}},
- 'type': 'list'},
- 'state': {'choices': ['merged', 'replaced', 'overridden', 'deleted'],
- 'default': 'merged',
- 'type': 'str'}}
diff --git a/lib/ansible/module_utils/network/junos/argspec/l3_interfaces/l3_interfaces.py b/lib/ansible/module_utils/network/junos/argspec/l3_interfaces/l3_interfaces.py
deleted file mode 100644
index a6e8bbf9ea..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/l3_interfaces/l3_interfaces.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-"""
-The arg spec for the junos_l3_interfaces module
-"""
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-class L3_interfacesArgs(object): # pylint: disable=R0903
- """The arg spec for the junos_l3_interfaces module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {'config': {'elements': 'dict', 'options':
- {
- 'ipv4': {'elements': 'dict',
- 'options':
- {'address': {'type': 'str'}},
- 'type': 'list'},
- 'ipv6': {'elements': 'dict',
- 'options':
- {'address': {'type': 'str'}},
- 'type': 'list'},
- 'name': {'required': True, 'type': 'str'},
- 'unit': {'type': 'int', 'default': 0}
- },
- 'type': 'list'},
- 'state': {'choices':
- ['merged', 'replaced', 'overridden', 'deleted'],
- 'default': 'merged',
- 'type': 'str'}} # pylint: disable=C0301
diff --git a/lib/ansible/module_utils/network/junos/argspec/lacp/lacp.py b/lib/ansible/module_utils/network/junos/argspec/lacp/lacp.py
deleted file mode 100644
index e807d66639..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/lacp/lacp.py
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-#############################################
-# WARNING #
-#############################################
-#
-# This file is auto generated by the resource
-# module builder playbook.
-#
-# Do not edit this file manually.
-#
-# Changes to this file will be over written
-# by the resource module builder.
-#
-# Changes should be made in the model used to
-# generate this file or in the resource module
-# builder template.
-#
-#############################################
-
-"""
-The arg spec for the junos_lacp module
-"""
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-class LacpArgs(object):
- """The arg spec for the junos_lacp module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {'config': {'type': 'dict',
- 'options': {'link_protection': {'choices': ['revertive',
- 'non-revertive'],
- 'type': 'str'},
- 'system_priority': {'type': 'int'}},
- },
- 'state': {'choices': ['merged', 'replaced', 'deleted'],
- 'default': 'merged',
- 'type': 'str'}}
diff --git a/lib/ansible/module_utils/network/junos/argspec/lacp_interfaces/lacp_interfaces.py b/lib/ansible/module_utils/network/junos/argspec/lacp_interfaces/lacp_interfaces.py
deleted file mode 100644
index 94d6e666bd..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/lacp_interfaces/lacp_interfaces.py
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-#############################################
-# WARNING #
-#############################################
-#
-# This file is auto generated by the resource
-# module builder playbook.
-#
-# Do not edit this file manually.
-#
-# Changes to this file will be over written
-# by the resource module builder.
-#
-# Changes should be made in the model used to
-# generate this file or in the resource module
-# builder template.
-#
-#############################################
-
-"""
-The arg spec for the junos_lacp_interfaces module
-"""
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-class Lacp_interfacesArgs(object):
- """The arg spec for the junos_lacp_interfaces module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {'config': {'elements': 'dict',
- 'options': {'force_up': {'type': 'bool'},
- 'name': {'type': 'str'},
- 'period': {'choices': ['fast', 'slow']},
- 'port_priority': {'type': 'int'},
- 'sync_reset': {'choices': ['disable', 'enable'],
- 'type': 'str'},
- 'system': {'options': {'mac': {'type': 'dict',
- 'options': {'address': {'type': 'str'}}},
- 'priority': {'type': 'int'}},
- 'type': 'dict'}},
- 'type': 'list'},
- 'state': {'choices': ['merged', 'replaced', 'overridden', 'deleted'],
- 'default': 'merged',
- 'type': 'str'}}
diff --git a/lib/ansible/module_utils/network/junos/argspec/lag_interfaces/lag_interfaces.py b/lib/ansible/module_utils/network/junos/argspec/lag_interfaces/lag_interfaces.py
deleted file mode 100644
index 87e677e6f8..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/lag_interfaces/lag_interfaces.py
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-#############################################
-# WARNING #
-#############################################
-#
-# This file is auto generated by the resource
-# module builder playbook.
-#
-# Do not edit this file manually.
-#
-# Changes to this file will be over written
-# by the resource module builder.
-#
-# Changes should be made in the model used to
-# generate this file or in the resource module
-# builder template.
-#
-#############################################
-
-"""
-The arg spec for the junos_lag_interfaces module
-"""
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-class Lag_interfacesArgs(object):
- """The arg spec for the junos_lag_interfaces module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {'config': {'elements': 'dict',
- 'options': {'members': {'elements': 'dict',
- 'options': {'link_type': {'choices': ['primary',
- 'backup']},
- 'member': {'type': 'str'}},
- 'type': 'list'},
- 'mode': {'choices': ['active', 'passive']},
- 'name': {'required': True, 'type': 'str'},
- 'link_protection': {'type': 'bool'}},
- 'type': 'list'},
- 'state': {'choices': ['merged', 'replaced', 'overridden', 'deleted'],
- 'default': 'merged',
- 'type': 'str'}}
diff --git a/lib/ansible/module_utils/network/junos/argspec/lldp_global/lldp_global.py b/lib/ansible/module_utils/network/junos/argspec/lldp_global/lldp_global.py
deleted file mode 100644
index 215d02bae5..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/lldp_global/lldp_global.py
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-#############################################
-# WARNING #
-#############################################
-#
-# This file is auto generated by the resource
-# module builder playbook.
-#
-# Do not edit this file manually.
-#
-# Changes to this file will be over written
-# by the resource module builder.
-#
-# Changes should be made in the model used to
-# generate this file or in the resource module
-# builder template.
-#
-#############################################
-
-"""
-The arg spec for the junos_lldp module
-"""
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-class Lldp_globalArgs(object):
- """The arg spec for the junos_lldp module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {'config': {'options': {'address': {'type': 'str'},
- 'enabled': {'type': 'bool'},
- 'hold_multiplier': {'type': 'int'},
- 'interval': {'type': 'int'},
- 'transmit_delay': {'type': 'int'}},
- 'type': 'dict'},
- 'state': {'choices': ['merged', 'replaced', 'deleted'],
- 'default': 'merged',
- 'type': 'str'}}
diff --git a/lib/ansible/module_utils/network/junos/argspec/lldp_interfaces/lldp_interfaces.py b/lib/ansible/module_utils/network/junos/argspec/lldp_interfaces/lldp_interfaces.py
deleted file mode 100644
index 0b62276833..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/lldp_interfaces/lldp_interfaces.py
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-#############################################
-# WARNING #
-#############################################
-#
-# This file is auto generated by the resource
-# module builder playbook.
-#
-# Do not edit this file manually.
-#
-# Changes to this file will be over written
-# by the resource module builder.
-#
-# Changes should be made in the model used to
-# generate this file or in the resource module
-# builder template.
-#
-#############################################
-
-"""
-The arg spec for the junos_lldp_interfaces module
-"""
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-class Lldp_interfacesArgs(object):
- """The arg spec for the junos_lldp_interfaces module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {'config': {'elements': 'dict',
- 'options': {'enabled': {'type': 'bool'},
- 'name': {'required': True, 'type': 'str'}},
- 'type': 'list'},
- 'state': {'choices': ['merged', 'replaced', 'deleted', 'overridden'],
- 'default': 'merged',
- 'type': 'str'}}
diff --git a/lib/ansible/module_utils/network/junos/argspec/static_routes/static_routes.py b/lib/ansible/module_utils/network/junos/argspec/static_routes/static_routes.py
deleted file mode 100644
index f4179024e5..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/static_routes/static_routes.py
+++ /dev/null
@@ -1,73 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-#############################################
-# WARNING #
-#############################################
-#
-# This file is auto generated by the resource
-# module builder playbook.
-#
-# Do not edit this file manually.
-#
-# Changes to this file will be over written
-# by the resource module builder.
-#
-# Changes should be made in the model used to
-# generate this file or in the resource module
-# builder template.
-#
-#############################################
-
-"""
-The arg spec for the junos_static_routes module
-"""
-from __future__ import (absolute_import, division, print_function)
-__metaclass__ = type
-
-
-class Static_routesArgs(object): # pylint: disable=R0903
- """The arg spec for the junos_static_routes module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {
- 'config': {
- 'elements': 'dict',
- 'options': {
- 'address_families': {
- 'elements': 'dict',
- 'options': {
- 'afi': {
- 'choices': ['ipv4', 'ipv6'],
- 'required': True,
- 'type': 'str'},
- 'routes': {'elements': 'dict',
- 'options': {
- 'dest': {
- 'type': 'str'},
- 'metric': {
- 'type': 'int'},
- 'next_hop': {
- 'elements': 'dict',
- 'options': {
- 'forward_router_address': {
- 'type': 'str'}},
- 'type': 'list'}},
- 'type': 'list'}},
- 'type': 'list'},
- 'vrf': {
- 'type': 'str'}},
- 'type': 'list'},
- 'state': {
- 'choices': ['merged',
- 'replaced',
- 'overridden',
- 'deleted'],
- 'default': 'merged',
- 'type': 'str'}} # pylint: disable=C0301
diff --git a/lib/ansible/module_utils/network/junos/argspec/vlans/vlans.py b/lib/ansible/module_utils/network/junos/argspec/vlans/vlans.py
deleted file mode 100644
index 54a28c9889..0000000000
--- a/lib/ansible/module_utils/network/junos/argspec/vlans/vlans.py
+++ /dev/null
@@ -1,49 +0,0 @@
-#
-# -*- coding: utf-8 -*-
-# Copyright 2019 Red Hat
-# GNU General Public License v3.0+
-# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-#############################################
-# WARNING #
-#############################################
-#
-# This file is auto generated by the resource
-# module builder playbook.
-#
-# Do not edit this file manually.
-#
-# Changes to this file will be over written
-# by the resource module builder.
-#
-# Changes should be made in the model used to
-# generate this file or in the resource module
-# builder template.
-#
-#############################################
-
-"""
-The arg spec for the junos_vlans module
-"""
-from __future__ import absolute_import, division, print_function
-__metaclass__ = type
-
-
-class VlansArgs(object): # pylint: disable=R0903
- """The arg spec for the junos_vlans module
- """
-
- def __init__(self, **kwargs):
- pass
-
- argument_spec = {'config': {'elements': 'dict',
- 'options': {
- 'description': {},
- 'name': {'required': True, 'type': 'str'},
- 'vlan_id': {'type': 'int'}},
- 'type': 'list'},
- 'state': {
- 'choices': ['merged', 'replaced', 'overridden',
- 'deleted'],
- 'default': 'merged',
- 'type': 'str'}} # pylint: disable=C0301