Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JunOS Security Policies Global #284

Merged
merged 16 commits into from
Mar 28, 2022
97 changes: 49 additions & 48 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion changelogs/fragments/fix_sanity.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
minor_changes:
trivial:
- Fix sanity issues.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
trivial:
- Added security_policies_global module
1,444 changes: 1,444 additions & 0 deletions docs/junipernetworks.junos.junos_security_policies_global_module.rst

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ plugin_routing:
redirect: junipernetworks.junos.junos
junos_lldp_global:
redirect: junipernetworks.junos.junos
security_policies_global:
redirect: junipernetworks.junos.junos
junos_security_policies_global:
redirect: junipernetworks.junos.junos
lldp_global:
redirect: junipernetworks.junos.junos
junos_bgp_global:
Expand Down Expand Up @@ -272,6 +276,8 @@ plugin_routing:
redirect: junipernetworks.junos.junos_ntp_global
security_policies:
redirect: junipernetworks.junos.junos_security_policies
security_policies_global:
redirect: junipernetworks.junos.junos_security_policies_global
snmp_server:
redirect: junipernetworks.junos.junos_snmp_server
hostname:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
#
# -*- coding: utf-8 -*-
# Copyright 2022 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_security_policies_global module
"""
from __future__ import absolute_import, division, print_function

__metaclass__ = type


class Security_policies_globalArgs(object): # pylint: disable=R0903
"""The arg spec for the junos_security_policies_global module
"""

def __init__(self, **kwargs):
pass

argument_spec = {
"config": {
"options": {
"default_policy": {
"choices": ["deny-all", "permit-all"],
"type": "str",
},
"policy_rematch": {
"options": {
"enable": {"type": "bool"},
"extensive": {"type": "bool"},
},
"type": "dict",
},
"policy_stats": {
"options": {
"enable": {"type": "bool"},
"system_wide": {"type": "bool"},
},
"type": "dict",
},
"pre_id_default_policy_action": {
"options": {
"log": {
"options": {
"session_close": {"type": "bool"},
"session_init": {"type": "bool"},
},
"type": "dict",
},
"session_timeout": {
"options": {
"icmp": {"type": "int"},
"icmp6": {"type": "int"},
"ospf": {"type": "int"},
"others": {"type": "int"},
"tcp": {"type": "int"},
"udp": {"type": "int"},
},
"type": "dict",
},
},
"type": "dict",
},
"traceoptions": {
"options": {
"file": {
"options": {
"files": {"type": "int"},
"match": {"type": "str"},
"no_world_readable": {"type": "bool"},
"size": {"type": "str"},
"world_readable": {"type": "bool"},
},
"type": "dict",
},
"flag": {
"choices": [
"all",
"configuration",
"compilation",
"ipc",
"lookup",
"routing-socket",
"rules",
],
"type": "str",
},
"no_remote_trace": {"type": "bool"},
},
"type": "dict",
},
},
"type": "dict",
},
"running_config": {"type": "str"},
"state": {
"choices": [
"merged",
"replaced",
"overridden",
"deleted",
"rendered",
"gathered",
"parsed",
],
"default": "merged",
"type": "str",
},
} # pylint: disable=C0301
Loading