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

Juniper mist add this extra "default" config #565

Closed
jamesgreen-moj opened this issue Dec 20, 2023 · 2 comments
Closed

Juniper mist add this extra "default" config #565

jamesgreen-moj opened this issue Dec 20, 2023 · 2 comments

Comments

@jamesgreen-moj
Copy link
Contributor

jamesgreen-moj commented Dec 20, 2023

When I create a site with it it's all good. But when I do a change on the site on GUI, the Mist portal actually adds some "default" configuration on the site too and this actually creates switch configuration change.

The quick fix would be just to add this extra "default" config on top of what you already had, i.e. rogue config:

"auto_upgrade": {
        "enabled": true,
        "version": "custom",
        "time_of_day": "02:00",
        "custom_versions": {
            "AP45": "0.12.27139",
            "AP32": "0.12.27139"
        },
        "day_of_week": ""
    },
 
    
    "rogue": {
        "min_rssi": -80,
        "min_duration": 20,
        "enabled": true,
        "honeypot_enabled": true,
        "whitelisted_bssids": [
            ""
        ],
        "whitelisted_ssids": [
            "GovWifi"
        ]
    },

    "persist_config_on_device": true,
    "engagement": {
        "dwell_tags": {
            "passerby": "1-300",
            "bounce": "3600-14400",
            "engaged": "25200-36000",
            "stationed": "50400-86400"
        },
        
        
        "dwell_tag_names": {
            "passerby": "Below 5 Min (Passerby)",
            "bounce": "1-4 Hours",
            "engaged": "7-10 Hours",
            "stationed": "14-24 Hours"
        },
        "hours": {
            "sun": null,
            "mon": null,
            "tue": null,
            "wed": null,
            "thu": null,
            "fri": null,
            "sat": null
        }
    },
    "analytic": {
        "enabled": true
    },
    "rtsa": {
        "enabled": false,
        "track_asset": false,
        "app_waking": false
    },
    "led": {
        "enabled": true,
        "brightness": 255
    },
    "wifi": {
        "enabled": true,
        "locate_unconnected": false,
        "mesh_enabled": false,
        "mesh_allow_dfs": false
    },
    "switch_mgmt": {
        "use_mxedge_proxy": false,
        "mxedge_proxy_port": "2222"
    },
    "wootcloud": null,
    "skyatp": {
        "enabled": false,
        "send_ip_mac_mapping": false
    },
    "mgmt": {
        "use_wxtunnel": false
    },
    "config_auto_revert": true,
    "status_portal": {
        "enabled": false,
        "hostnames": [
            ""
        ]
    },
    "uplink_port_config": {
        "keep_wlans_up_if_down": true
    },
    "ssh_keys": [],
    "wids": {},
    "mxtunnel": {
        "enabled": false
    },
    "occupancy": {
        "min_duration": null,
        "clients_enabled": false,
        "sdkclients_enabled": false,
        "assets_enabled": false,
        "unconnected_clients_enabled": false
    },
    "public_zone_occupancy": {
        "enabled": false,
        "client_density_enabled": false,
        "rssi_zones_enabled": false
    },
    "zone_occupancy_alert": {
        "enabled": false,
        "threshold": 5,
        "email_notifiers": []
    },
    "gateway_mgmt": {
        "app_usage": false,
        "security_log_source_interface": "",
        "auto_signature_update": {
            "enable": true,
            "time_of_day": "02:00",
            "day_of_week": ""
        }
    },
    "tunterm_monitoring": [],
    "tunterm_monitoring_disabled": true,
    "ssr": {}
}

DOD:

  • Update the API payload
  • Confirm the new payload with Matii
  • Update unit tests
  • PR (wait for approval)
  • Release new tag with minor version update
  • Update Matti its been done
@jamesgreen-moj
Copy link
Contributor Author

@jamesgreen-moj
Copy link
Contributor Author

jamesgreen-moj commented Dec 20, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants