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

[WIP] New module - meraki_mx_l7_firewall #55485

Open
wants to merge 3 commits into
base: devel
from

Conversation

Projects
None yet
2 participants
@kbreit
Copy link
Contributor

commented Apr 18, 2019

SUMMARY

This new module allows modification and querying of MX appliance layer 7 firewall rules.

@brianberzins

Fixes #55450

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

meraki_mx_l7_firewall

ADDITIONAL INFORMATION
  - name: Create multiple firewall rules
    meraki_mx_l7_firewall:
      auth_key: '{{ auth_key }}'
      org_name: '{{test_org_name}}'
      net_name: TestNetAppliance
      state: present
      rules:
        - type: whitelisted_countries
          countries:
            - US
            - FR
        - type: blacklisted_countries
          countries:
            - CN
        - policy: deny
          type: port
          port: 8080
    delegate_to: localhost

TASK [meraki_mx_l7_firewall : debug] *******************************************
ok: [localhost] => {
        "data": {
            "rules": [
                {
                    "policy": "deny",
                    "type": "whitelistedCountries",
                    "value": [
                        "US",
                        "FR"
                    ]
                },
                {
                    "policy": "deny",
                    "type": "blacklistedCountries",
                    "value": [
                        "CN"
                    ]
                },
                {
                    "policy": "deny",
                    "type": "port",
                    "value": "8080"
                }
            ]
        },
@ansibot

This comment has been minimized.

Copy link
Contributor

commented Apr 18, 2019

kbreit added some commits Apr 18, 2019

@ansibot ansibot added the stale_ci label May 4, 2019

@kbreit kbreit changed the title New module - meraki_mx_l7_firewall [WIP] New module - meraki_mx_l7_firewall May 11, 2019

@ansibot ansibot added the WIP label May 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.