Class: MistApi::SiteSetting
- Defined in:
- lib/mist_api/models/site_setting.rb
Overview
Site Settings
Instance Attribute Summary collapse
-
#acl_policies ⇒ Array[AclPolicy]
TODO: Write general description for this method.
-
#acl_tags ⇒ Hash[String, AclTag]
ACL Tags to identify traffic source or destination.
-
#additional_config_cmds ⇒ Array[String]
additional CLI commands to append to the generated Junos config.
-
#allow_mist ⇒ TrueClass | FalseClass
whether to allow Mist to look at this org.
-
#analytic ⇒ SiteSettingAnalytic
whether to allow Mist to look at this org.
-
#ap_matching ⇒ SiteSettingApMatching
whether to allow Mist to look at this org.
-
#ap_port_config ⇒ SiteSettingApPortConfig
whether to allow Mist to look at this org.
-
#ap_synthetic_test ⇒ SiteSettingApSyntheticTest
AP Synthetic Test configuration.
-
#ap_updown_threshold ⇒ Integer
Enable threshold-based device down delivery for AP devices only.
-
#auto_placement ⇒ SiteSettingAutoPlacement
If we’re able to determine its x/y/orientation, this will be populated.
-
#auto_upgrade ⇒ SiteSettingAutoUpgrade
Auto Upgrade Settings.
-
#auto_upgrade_esl ⇒ SiteSettingAutoUpgradeEsl
auto upgrade AP ESL.
-
#auto_upgrade_linecard ⇒ TrueClass | FalseClass
auto upgrade AP ESL.
-
#bgp_neighbor_updown_threshold ⇒ Integer
enable threshold-based bgp neighbor down delivery.
-
#blacklist_url ⇒ String
enable threshold-based bgp neighbor down delivery.
-
#ble_config ⇒ BleConfig
BLE AP settings.
-
#config_auto_revert ⇒ TrueClass | FalseClass
Whether to enable ap auto config revert.
-
#config_push_policy ⇒ SiteSettingConfigPushPolicy
Mist also uses some heuristic rules to prevent destructive configs from being pushed.
-
#created_time ⇒ Float
When the object has been created, in epoch.
-
#critical_url_monitoring ⇒ SiteSettingCriticalUrlMonitoring
You can define some URLs that’s critical to site operations the latency will be captured and considered for site health.
-
#device_updown_threshold ⇒ Integer
By default, device_updown_threshold, if set, will apply to all devices types if different values for specific device type is desired, use the following.
-
#dhcp_snooping ⇒ DhcpSnooping
By default, device_updown_threshold, if set, will apply to all devices types if different values for specific device type is desired, use the following.
-
#disabled_system_defined_port_usages ⇒ Array[SystemDefinedPortUsagesEnum]
If some system-default port usages are not desired - namely, ap / iot / uplink.
-
#dns_servers ⇒ Array[String]
Global dns settings.
-
#dns_suffix ⇒ Array[String]
Global dns settings.
-
#enable_unii_4 ⇒ TrueClass | FalseClass
Global dns settings.
-
#engagement ⇒ SiteEngagement
Note: if hours does not exist, it’s treated as everyday of the week, 00:00-23:59.
-
#evpn_options ⇒ EvpnOptions
EVPN Options.
-
#extra_routes ⇒ Hash[String, ExtraRoute]
Property key is the destination CIDR (e.g. “10.0.0.0/8”).
-
#extra_routes6 ⇒ Hash[String, ExtraRoute6]
Property key is the destination CIDR (e.g. “2a02:1234:420a:10c9::/64”).
-
#flags ⇒ Hash[String, String]
Name/val pair objects for location engine to use.
-
#for_site ⇒ TrueClass | FalseClass
Name/val pair objects for location engine to use.
-
#gateway ⇒ GatewayTemplate
Gateway Template is applied to a site for gateway(s) in a site.
-
#gateway_additional_config_cmds ⇒ Array[String]
additional CLI commands to append to the generated Junos config.
-
#gateway_mgmt ⇒ GatewayMgmt
Gateway Management settings.
-
#gateway_tunnel_updown_threshold ⇒ Integer
enable threshold-based gateway tunnel (secure edge tunnels) up-down delivery.
-
#gateway_updown_threshold ⇒ Integer
Enable threshold-based device down delivery for Gateway devices only.
-
#id ⇒ UUID | String
Unique ID of the object instance in the Mist Organization.
-
#iotproxy ⇒ Iotproxy
IoT proxy configuration for the site.
-
#juniper_srx ⇒ SiteSettingJuniperSrx
IoT proxy configuration for the site.
-
#led ⇒ ApLed
LED AP settings.
-
#marvis ⇒ Marvis
LED AP settings.
-
#mist_nac ⇒ SwitchMistNac
Enable mist_nac to use RadSec.
-
#modified_time ⇒ Float
When the object has been modified for the last time, in epoch.
-
#mxedge ⇒ SiteSettingMxedge
Site Mist Edges form a cluster of RadSec Proxy servers.
-
#mxedge_mgmt ⇒ MxedgeMgmt
Site Mist Edges form a cluster of RadSec Proxy servers.
-
#mxtunnels ⇒ SiteMxtunnel
Site MxTunnel.
-
#networks ⇒ Hash[String, SwitchNetwork]
Property key is network name.
-
#ntp_servers ⇒ Array[String]
List of NTP servers.
-
#occupancy ⇒ SiteOccupancyAnalytics
Occupancy Analytics settings.
-
#org_id ⇒ UUID | String
Occupancy Analytics settings.
-
#ospf_areas ⇒ Hash[String, OspfArea]
Junos OSPF areas.
-
#paloalto_networks ⇒ SiteSettingPaloaltoNetworks
Junos OSPF areas.
-
#persist_config_on_device ⇒ TrueClass | FalseClass
Whether to store the config on AP.
-
#port_mirroring ⇒ Hash[String, SwitchPortMirroringProperty]
Property key is the port mirroring instance name.
-
#port_usages ⇒ Hash[String, SwitchPortUsage]
Property key is the port usage name.
-
#proxy ⇒ Proxy
Proxy Configuration to talk to Mist.
-
#radio_config ⇒ ApRadio
Radio AP settings.
-
#radius_config ⇒ SwitchRadiusConfig
Junos Radius config.
-
#remote_syslog ⇒ RemoteSyslog
Junos Radius config.
-
#remove_existing_configs ⇒ TrueClass | FalseClass
By default, only the configuration generated by Mist is cleaned up during the configuration process.
-
#report_gatt ⇒ TrueClass | FalseClass
Whether AP should periodically connect to BLE devices and report GATT device info (device name, manufacturer name, serial number, battery %, temperature, humidity).
-
#rogue ⇒ SiteRogue
Rogue site settings.
-
#routing_policies ⇒ Hash[String, SwRoutingPolicy]
Property key is the routing policy name.
-
#rtsa ⇒ SiteSettingRtsa
Managed mobility.
-
#simple_alert ⇒ SimpleAlert
Set of heuristic rules will be enabled when marvis subscription is not available.
-
#site_id ⇒ UUID | String
Set of heuristic rules will be enabled when marvis subscription is not available.
-
#skyatp ⇒ SiteSettingSkyatp
Set of heuristic rules will be enabled when marvis subscription is not available.
-
#sle_thresholds ⇒ SleThresholds
Set of heuristic rules will be enabled when marvis subscription is not available.
-
#snmp_config ⇒ SnmpConfig
Set of heuristic rules will be enabled when marvis subscription is not available.
-
#srx_app ⇒ SiteSettingSrxApp
Set of heuristic rules will be enabled when marvis subscription is not available.
-
#ssh_keys ⇒ Array[String]
When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting).
-
#ssr ⇒ SettingSsr
When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting).
-
#status_portal ⇒ SiteSettingStatusPortal
When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting).
-
#switch ⇒ SiteSettingSwitch
When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting).
-
#switch_matching ⇒ SwitchMatching
Defines custom switch configuration based on different criteria.
-
#switch_mgmt ⇒ SwitchMgmt
Switch Management settings.
-
#switch_updown_threshold ⇒ Integer
Enable threshold-based device down delivery for Switch devices only.
-
#synthetic_test ⇒ SynthetictestConfig
Enable threshold-based device down delivery for Switch devices only.
-
#track_anonymous_devices ⇒ TrueClass | FalseClass
Whether to track anonymous BLE assets (requires ‘track_asset’ enabled).
-
#tunterm_monitoring ⇒ Array[TuntermMonitoringItem]
Whether to track anonymous BLE assets (requires ‘track_asset’ enabled).
-
#tunterm_monitoring_disabled ⇒ TrueClass | FalseClass
Whether to track anonymous BLE assets (requires ‘track_asset’ enabled).
-
#tunterm_multicast_config ⇒ SiteSettingTuntermMulticastConfig
Whether to track anonymous BLE assets (requires ‘track_asset’ enabled).
-
#uplink_port_config ⇒ ApUplinkPortConfig
AP Uplink port configuration.
-
#uses_description_from_port_usage ⇒ TrueClass | FalseClass
by default, we only honor description provided in port_config.
-
#vars ⇒ Hash[String, String]
Dictionary of name->value, the vars can then be used in Wlans.
-
#vars_annotations ⇒ Hash[String, VarsAnnotation]
Optional annotations for vars defined in this site.
-
#vna ⇒ SiteSettingVna
Optional annotations for vars defined in this site.
-
#vpn_path_updown_threshold ⇒ Integer
enable threshold-based vpn path down delivery.
-
#vpn_peer_updown_threshold ⇒ Integer
enable threshold-based vpn peer down delivery.
-
#vrf_config ⇒ VrfConfig
enable threshold-based vpn peer down delivery.
-
#vrf_instances ⇒ Hash[String, SwitchVrfInstance]
Property key is the network name.
-
#vrrp_groups ⇒ Hash[String, VrrpGroup]
Property key is the vrrp group.
-
#vs_instance ⇒ Hash[String, VsInstanceProperty]
Optional, for EX9200 only to segregate virtual-switches.
-
#wan_vna ⇒ SiteSettingWanVna
Optional, for EX9200 only to segregate virtual-switches.
-
#watched_station_url ⇒ String
Optional, for EX9200 only to segregate virtual-switches.
-
#whitelist_url ⇒ String
Optional, for EX9200 only to segregate virtual-switches.
-
#wids ⇒ SiteWids
WIDS site settings.
-
#wifi ⇒ SiteWifi
Wi-Fi site settings.
-
#wired_vna ⇒ SiteSettingWiredVna
Wi-Fi site settings.
-
#zone_occupancy_alert ⇒ SiteZoneOccupancyAlert
Zone Occupancy alert site settings.
Class Method Summary collapse
-
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
-
.names ⇒ Object
A mapping from model property names to API property names.
-
.nullables ⇒ Object
An array for nullable fields.
-
.optionals ⇒ Object
An array for optional fields.
Instance Method Summary collapse
-
#initialize(acl_policies = SKIP, acl_tags = SKIP, additional_config_cmds = SKIP, allow_mist = false, analytic = SKIP, ap_matching = SKIP, ap_port_config = SKIP, ap_synthetic_test = SKIP, ap_updown_threshold = 0, auto_placement = SKIP, auto_upgrade = SKIP, auto_upgrade_esl = SKIP, auto_upgrade_linecard = true, bgp_neighbor_updown_threshold = SKIP, blacklist_url = SKIP, ble_config = SKIP, config_auto_revert = false, config_push_policy = SKIP, created_time = SKIP, critical_url_monitoring = SKIP, device_updown_threshold = 0, dhcp_snooping = SKIP, disabled_system_defined_port_usages = SKIP, dns_servers = SKIP, dns_suffix = SKIP, enable_unii_4 = false, engagement = SKIP, evpn_options = SKIP, extra_routes = SKIP, extra_routes6 = SKIP, flags = SKIP, for_site = SKIP, gateway = SKIP, gateway_additional_config_cmds = SKIP, gateway_mgmt = SKIP, gateway_tunnel_updown_threshold = SKIP, gateway_updown_threshold = 0, id = SKIP, iotproxy = SKIP, juniper_srx = SKIP, led = SKIP, marvis = SKIP, mist_nac = SKIP, modified_time = SKIP, mxedge = SKIP, mxedge_mgmt = SKIP, mxtunnels = SKIP, networks = SKIP, ntp_servers = SKIP, occupancy = SKIP, org_id = SKIP, ospf_areas = SKIP, paloalto_networks = SKIP, persist_config_on_device = false, port_mirroring = SKIP, port_usages = SKIP, proxy = SKIP, radio_config = SKIP, radius_config = SKIP, remote_syslog = SKIP, remove_existing_configs = false, report_gatt = false, rogue = SKIP, routing_policies = SKIP, rtsa = SKIP, simple_alert = SKIP, site_id = SKIP, skyatp = SKIP, sle_thresholds = SKIP, snmp_config = SKIP, srx_app = SKIP, ssh_keys = SKIP, ssr = SKIP, status_portal = SKIP, switch = SKIP, switch_matching = SKIP, switch_mgmt = SKIP, switch_updown_threshold = 0, synthetic_test = SKIP, track_anonymous_devices = false, tunterm_monitoring = SKIP, tunterm_monitoring_disabled = false, tunterm_multicast_config = SKIP, uplink_port_config = SKIP, uses_description_from_port_usage = false, vars = SKIP, vars_annotations = SKIP, vna = SKIP, vpn_path_updown_threshold = SKIP, vpn_peer_updown_threshold = SKIP, vrf_config = SKIP, vrf_instances = SKIP, vrrp_groups = SKIP, vs_instance = SKIP, wan_vna = SKIP, watched_station_url = SKIP, whitelist_url = SKIP, wids = SKIP, wifi = SKIP, wired_vna = SKIP, zone_occupancy_alert = SKIP, additional_properties = nil) ⇒ SiteSetting
constructor
A new instance of SiteSetting.
-
#inspect ⇒ Object
Provides a debugging-friendly string with detailed object information.
-
#to_s ⇒ Object
Provides a human-readable string representation of the object.
Methods inherited from BaseModel
#check_for_conflict, #process_additional_properties, #process_array, #process_basic_value, #process_hash, #to_hash, #to_json
Constructor Details
#initialize(acl_policies = SKIP, acl_tags = SKIP, additional_config_cmds = SKIP, allow_mist = false, analytic = SKIP, ap_matching = SKIP, ap_port_config = SKIP, ap_synthetic_test = SKIP, ap_updown_threshold = 0, auto_placement = SKIP, auto_upgrade = SKIP, auto_upgrade_esl = SKIP, auto_upgrade_linecard = true, bgp_neighbor_updown_threshold = SKIP, blacklist_url = SKIP, ble_config = SKIP, config_auto_revert = false, config_push_policy = SKIP, created_time = SKIP, critical_url_monitoring = SKIP, device_updown_threshold = 0, dhcp_snooping = SKIP, disabled_system_defined_port_usages = SKIP, dns_servers = SKIP, dns_suffix = SKIP, enable_unii_4 = false, engagement = SKIP, evpn_options = SKIP, extra_routes = SKIP, extra_routes6 = SKIP, flags = SKIP, for_site = SKIP, gateway = SKIP, gateway_additional_config_cmds = SKIP, gateway_mgmt = SKIP, gateway_tunnel_updown_threshold = SKIP, gateway_updown_threshold = 0, id = SKIP, iotproxy = SKIP, juniper_srx = SKIP, led = SKIP, marvis = SKIP, mist_nac = SKIP, modified_time = SKIP, mxedge = SKIP, mxedge_mgmt = SKIP, mxtunnels = SKIP, networks = SKIP, ntp_servers = SKIP, occupancy = SKIP, org_id = SKIP, ospf_areas = SKIP, paloalto_networks = SKIP, persist_config_on_device = false, port_mirroring = SKIP, port_usages = SKIP, proxy = SKIP, radio_config = SKIP, radius_config = SKIP, remote_syslog = SKIP, remove_existing_configs = false, report_gatt = false, rogue = SKIP, routing_policies = SKIP, rtsa = SKIP, simple_alert = SKIP, site_id = SKIP, skyatp = SKIP, sle_thresholds = SKIP, snmp_config = SKIP, srx_app = SKIP, ssh_keys = SKIP, ssr = SKIP, status_portal = SKIP, switch = SKIP, switch_matching = SKIP, switch_mgmt = SKIP, switch_updown_threshold = 0, synthetic_test = SKIP, track_anonymous_devices = false, tunterm_monitoring = SKIP, tunterm_monitoring_disabled = false, tunterm_multicast_config = SKIP, uplink_port_config = SKIP, uses_description_from_port_usage = false, vars = SKIP, vars_annotations = SKIP, vna = SKIP, vpn_path_updown_threshold = SKIP, vpn_peer_updown_threshold = SKIP, vrf_config = SKIP, vrf_instances = SKIP, vrrp_groups = SKIP, vs_instance = SKIP, wan_vna = SKIP, watched_station_url = SKIP, whitelist_url = SKIP, wids = SKIP, wifi = SKIP, wired_vna = SKIP, zone_occupancy_alert = SKIP, additional_properties = nil) ⇒ SiteSetting
Returns a new instance of SiteSetting.
708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 |
# File 'lib/mist_api/models/site_setting.rb', line 708 def initialize(acl_policies = SKIP, = SKIP, additional_config_cmds = SKIP, allow_mist = false, analytic = SKIP, ap_matching = SKIP, ap_port_config = SKIP, ap_synthetic_test = SKIP, ap_updown_threshold = 0, auto_placement = SKIP, auto_upgrade = SKIP, auto_upgrade_esl = SKIP, auto_upgrade_linecard = true, bgp_neighbor_updown_threshold = SKIP, blacklist_url = SKIP, ble_config = SKIP, config_auto_revert = false, config_push_policy = SKIP, created_time = SKIP, critical_url_monitoring = SKIP, device_updown_threshold = 0, dhcp_snooping = SKIP, disabled_system_defined_port_usages = SKIP, dns_servers = SKIP, dns_suffix = SKIP, enable_unii_4 = false, engagement = SKIP, = SKIP, extra_routes = SKIP, extra_routes6 = SKIP, flags = SKIP, for_site = SKIP, gateway = SKIP, gateway_additional_config_cmds = SKIP, gateway_mgmt = SKIP, gateway_tunnel_updown_threshold = SKIP, gateway_updown_threshold = 0, id = SKIP, iotproxy = SKIP, juniper_srx = SKIP, led = SKIP, marvis = SKIP, mist_nac = SKIP, modified_time = SKIP, mxedge = SKIP, mxedge_mgmt = SKIP, mxtunnels = SKIP, networks = SKIP, ntp_servers = SKIP, occupancy = SKIP, org_id = SKIP, ospf_areas = SKIP, paloalto_networks = SKIP, persist_config_on_device = false, port_mirroring = SKIP, port_usages = SKIP, proxy = SKIP, radio_config = SKIP, radius_config = SKIP, remote_syslog = SKIP, remove_existing_configs = false, report_gatt = false, rogue = SKIP, routing_policies = SKIP, rtsa = SKIP, simple_alert = SKIP, site_id = SKIP, skyatp = SKIP, sle_thresholds = SKIP, snmp_config = SKIP, srx_app = SKIP, ssh_keys = SKIP, ssr = SKIP, status_portal = SKIP, switch = SKIP, switch_matching = SKIP, switch_mgmt = SKIP, switch_updown_threshold = 0, synthetic_test = SKIP, track_anonymous_devices = false, tunterm_monitoring = SKIP, tunterm_monitoring_disabled = false, tunterm_multicast_config = SKIP, uplink_port_config = SKIP, uses_description_from_port_usage = false, vars = SKIP, vars_annotations = SKIP, vna = SKIP, vpn_path_updown_threshold = SKIP, vpn_peer_updown_threshold = SKIP, vrf_config = SKIP, vrf_instances = SKIP, vrrp_groups = SKIP, vs_instance = SKIP, wan_vna = SKIP, watched_station_url = SKIP, whitelist_url = SKIP, wids = SKIP, wifi = SKIP, wired_vna = SKIP, zone_occupancy_alert = SKIP, additional_properties = nil) # Add additional model properties to the instance additional_properties = {} if additional_properties.nil? @acl_policies = acl_policies unless acl_policies == SKIP @acl_tags = unless == SKIP @additional_config_cmds = additional_config_cmds unless additional_config_cmds == SKIP @allow_mist = allow_mist unless allow_mist == SKIP @analytic = analytic unless analytic == SKIP @ap_matching = ap_matching unless ap_matching == SKIP @ap_port_config = ap_port_config unless ap_port_config == SKIP @ap_synthetic_test = ap_synthetic_test unless ap_synthetic_test == SKIP @ap_updown_threshold = ap_updown_threshold unless ap_updown_threshold == SKIP @auto_placement = auto_placement unless auto_placement == SKIP @auto_upgrade = auto_upgrade unless auto_upgrade == SKIP @auto_upgrade_esl = auto_upgrade_esl unless auto_upgrade_esl == SKIP @auto_upgrade_linecard = auto_upgrade_linecard unless auto_upgrade_linecard == SKIP unless bgp_neighbor_updown_threshold == SKIP @bgp_neighbor_updown_threshold = bgp_neighbor_updown_threshold end @blacklist_url = blacklist_url unless blacklist_url == SKIP @ble_config = ble_config unless ble_config == SKIP @config_auto_revert = config_auto_revert unless config_auto_revert == SKIP @config_push_policy = config_push_policy unless config_push_policy == SKIP @created_time = created_time unless created_time == SKIP @critical_url_monitoring = critical_url_monitoring unless critical_url_monitoring == SKIP @device_updown_threshold = device_updown_threshold unless device_updown_threshold == SKIP @dhcp_snooping = dhcp_snooping unless dhcp_snooping == SKIP unless disabled_system_defined_port_usages == SKIP @disabled_system_defined_port_usages = disabled_system_defined_port_usages end @dns_servers = dns_servers unless dns_servers == SKIP @dns_suffix = dns_suffix unless dns_suffix == SKIP @enable_unii_4 = enable_unii_4 unless enable_unii_4 == SKIP @engagement = engagement unless engagement == SKIP @evpn_options = unless == SKIP @extra_routes = extra_routes unless extra_routes == SKIP @extra_routes6 = extra_routes6 unless extra_routes6 == SKIP @flags = flags unless flags == SKIP @for_site = for_site unless for_site == SKIP @gateway = gateway unless gateway == SKIP unless gateway_additional_config_cmds == SKIP @gateway_additional_config_cmds = gateway_additional_config_cmds end @gateway_mgmt = gateway_mgmt unless gateway_mgmt == SKIP unless gateway_tunnel_updown_threshold == SKIP @gateway_tunnel_updown_threshold = gateway_tunnel_updown_threshold end @gateway_updown_threshold = gateway_updown_threshold unless gateway_updown_threshold == SKIP @id = id unless id == SKIP @iotproxy = iotproxy unless iotproxy == SKIP @juniper_srx = juniper_srx unless juniper_srx == SKIP @led = led unless led == SKIP @marvis = marvis unless marvis == SKIP @mist_nac = mist_nac unless mist_nac == SKIP @modified_time = modified_time unless modified_time == SKIP @mxedge = mxedge unless mxedge == SKIP @mxedge_mgmt = mxedge_mgmt unless mxedge_mgmt == SKIP @mxtunnels = mxtunnels unless mxtunnels == SKIP @networks = networks unless networks == SKIP @ntp_servers = ntp_servers unless ntp_servers == SKIP @occupancy = occupancy unless occupancy == SKIP @org_id = org_id unless org_id == SKIP @ospf_areas = ospf_areas unless ospf_areas == SKIP @paloalto_networks = paloalto_networks unless paloalto_networks == SKIP @persist_config_on_device = persist_config_on_device unless persist_config_on_device == SKIP @port_mirroring = port_mirroring unless port_mirroring == SKIP @port_usages = port_usages unless port_usages == SKIP @proxy = proxy unless proxy == SKIP @radio_config = radio_config unless radio_config == SKIP @radius_config = radius_config unless radius_config == SKIP @remote_syslog = remote_syslog unless remote_syslog == SKIP @remove_existing_configs = remove_existing_configs unless remove_existing_configs == SKIP @report_gatt = report_gatt unless report_gatt == SKIP @rogue = rogue unless rogue == SKIP @routing_policies = routing_policies unless routing_policies == SKIP @rtsa = rtsa unless rtsa == SKIP @simple_alert = simple_alert unless simple_alert == SKIP @site_id = site_id unless site_id == SKIP @skyatp = skyatp unless skyatp == SKIP @sle_thresholds = sle_thresholds unless sle_thresholds == SKIP @snmp_config = snmp_config unless snmp_config == SKIP @srx_app = srx_app unless srx_app == SKIP @ssh_keys = ssh_keys unless ssh_keys == SKIP @ssr = ssr unless ssr == SKIP @status_portal = status_portal unless status_portal == SKIP @switch = switch unless switch == SKIP @switch_matching = switch_matching unless switch_matching == SKIP @switch_mgmt = switch_mgmt unless switch_mgmt == SKIP @switch_updown_threshold = switch_updown_threshold unless switch_updown_threshold == SKIP @synthetic_test = synthetic_test unless synthetic_test == SKIP @track_anonymous_devices = track_anonymous_devices unless track_anonymous_devices == SKIP @tunterm_monitoring = tunterm_monitoring unless tunterm_monitoring == SKIP unless tunterm_monitoring_disabled == SKIP @tunterm_monitoring_disabled = tunterm_monitoring_disabled end @tunterm_multicast_config = tunterm_multicast_config unless tunterm_multicast_config == SKIP @uplink_port_config = uplink_port_config unless uplink_port_config == SKIP unless uses_description_from_port_usage == SKIP @uses_description_from_port_usage = uses_description_from_port_usage end @vars = vars unless vars == SKIP @vars_annotations = vars_annotations unless vars_annotations == SKIP @vna = vna unless vna == SKIP unless vpn_path_updown_threshold == SKIP @vpn_path_updown_threshold = vpn_path_updown_threshold end unless vpn_peer_updown_threshold == SKIP @vpn_peer_updown_threshold = vpn_peer_updown_threshold end @vrf_config = vrf_config unless vrf_config == SKIP @vrf_instances = vrf_instances unless vrf_instances == SKIP @vrrp_groups = vrrp_groups unless vrrp_groups == SKIP @vs_instance = vs_instance unless vs_instance == SKIP @wan_vna = wan_vna unless wan_vna == SKIP @watched_station_url = watched_station_url unless watched_station_url == SKIP @whitelist_url = whitelist_url unless whitelist_url == SKIP @wids = wids unless wids == SKIP @wifi = wifi unless wifi == SKIP @wired_vna = wired_vna unless wired_vna == SKIP @zone_occupancy_alert = zone_occupancy_alert unless zone_occupancy_alert == SKIP @additional_properties = additional_properties end |
Instance Attribute Details
#acl_policies ⇒ Array[AclPolicy]
TODO: Write general description for this method
14 15 16 |
# File 'lib/mist_api/models/site_setting.rb', line 14 def acl_policies @acl_policies end |
#acl_tags ⇒ Hash[String, AclTag]
ACL Tags to identify traffic source or destination. Key name is the tag name
19 20 21 |
# File 'lib/mist_api/models/site_setting.rb', line 19 def @acl_tags end |
#additional_config_cmds ⇒ Array[String]
additional CLI commands to append to the generated Junos config. Note: no check is done
24 25 26 |
# File 'lib/mist_api/models/site_setting.rb', line 24 def additional_config_cmds @additional_config_cmds end |
#allow_mist ⇒ TrueClass | FalseClass
whether to allow Mist to look at this org
28 29 30 |
# File 'lib/mist_api/models/site_setting.rb', line 28 def allow_mist @allow_mist end |
#analytic ⇒ SiteSettingAnalytic
whether to allow Mist to look at this org
32 33 34 |
# File 'lib/mist_api/models/site_setting.rb', line 32 def analytic @analytic end |
#ap_matching ⇒ SiteSettingApMatching
whether to allow Mist to look at this org
36 37 38 |
# File 'lib/mist_api/models/site_setting.rb', line 36 def ap_matching @ap_matching end |
#ap_port_config ⇒ SiteSettingApPortConfig
whether to allow Mist to look at this org
40 41 42 |
# File 'lib/mist_api/models/site_setting.rb', line 40 def ap_port_config @ap_port_config end |
#ap_synthetic_test ⇒ SiteSettingApSyntheticTest
AP Synthetic Test configuration
44 45 46 |
# File 'lib/mist_api/models/site_setting.rb', line 44 def ap_synthetic_test @ap_synthetic_test end |
#ap_updown_threshold ⇒ Integer
Enable threshold-based device down delivery for AP devices only. When configured it takes effect for AP devices and ‘device_updown_threshold` is ignored.
50 51 52 |
# File 'lib/mist_api/models/site_setting.rb', line 50 def ap_updown_threshold @ap_updown_threshold end |
#auto_placement ⇒ SiteSettingAutoPlacement
If we’re able to determine its x/y/orientation, this will be populated
54 55 56 |
# File 'lib/mist_api/models/site_setting.rb', line 54 def auto_placement @auto_placement end |
#auto_upgrade ⇒ SiteSettingAutoUpgrade
Auto Upgrade Settings
58 59 60 |
# File 'lib/mist_api/models/site_setting.rb', line 58 def auto_upgrade @auto_upgrade end |
#auto_upgrade_esl ⇒ SiteSettingAutoUpgradeEsl
auto upgrade AP ESL. When both firmware and ESL auto-upgrade are enabled, ESL upgrade will be done only after firmware upgrade
63 64 65 |
# File 'lib/mist_api/models/site_setting.rb', line 63 def auto_upgrade_esl @auto_upgrade_esl end |
#auto_upgrade_linecard ⇒ TrueClass | FalseClass
auto upgrade AP ESL. When both firmware and ESL auto-upgrade are enabled, ESL upgrade will be done only after firmware upgrade
68 69 70 |
# File 'lib/mist_api/models/site_setting.rb', line 68 def auto_upgrade_linecard @auto_upgrade_linecard end |
#bgp_neighbor_updown_threshold ⇒ Integer
enable threshold-based bgp neighbor down delivery.
72 73 74 |
# File 'lib/mist_api/models/site_setting.rb', line 72 def bgp_neighbor_updown_threshold @bgp_neighbor_updown_threshold end |
#blacklist_url ⇒ String
enable threshold-based bgp neighbor down delivery.
76 77 78 |
# File 'lib/mist_api/models/site_setting.rb', line 76 def blacklist_url @blacklist_url end |
#ble_config ⇒ BleConfig
BLE AP settings
80 81 82 |
# File 'lib/mist_api/models/site_setting.rb', line 80 def ble_config @ble_config end |
#config_auto_revert ⇒ TrueClass | FalseClass
Whether to enable ap auto config revert
84 85 86 |
# File 'lib/mist_api/models/site_setting.rb', line 84 def config_auto_revert @config_auto_revert end |
#config_push_policy ⇒ SiteSettingConfigPushPolicy
Mist also uses some heuristic rules to prevent destructive configs from being pushed
89 90 91 |
# File 'lib/mist_api/models/site_setting.rb', line 89 def config_push_policy @config_push_policy end |
#created_time ⇒ Float
When the object has been created, in epoch
93 94 95 |
# File 'lib/mist_api/models/site_setting.rb', line 93 def created_time @created_time end |
#critical_url_monitoring ⇒ SiteSettingCriticalUrlMonitoring
You can define some URLs that’s critical to site operations the latency will be captured and considered for site health
98 99 100 |
# File 'lib/mist_api/models/site_setting.rb', line 98 def critical_url_monitoring @critical_url_monitoring end |
#device_updown_threshold ⇒ Integer
By default, device_updown_threshold, if set, will apply to all devices types if different values for specific device type is desired, use the following
104 105 106 |
# File 'lib/mist_api/models/site_setting.rb', line 104 def device_updown_threshold @device_updown_threshold end |
#dhcp_snooping ⇒ DhcpSnooping
By default, device_updown_threshold, if set, will apply to all devices types if different values for specific device type is desired, use the following
110 111 112 |
# File 'lib/mist_api/models/site_setting.rb', line 110 def dhcp_snooping @dhcp_snooping end |
#disabled_system_defined_port_usages ⇒ Array[SystemDefinedPortUsagesEnum]
If some system-default port usages are not desired - namely, ap / iot / uplink
115 116 117 |
# File 'lib/mist_api/models/site_setting.rb', line 115 def disabled_system_defined_port_usages @disabled_system_defined_port_usages end |
#dns_servers ⇒ Array[String]
Global dns settings. To keep compatibility, dns settings in ‘ip_config` and `oob_ip_config` will overwrite this setting
120 121 122 |
# File 'lib/mist_api/models/site_setting.rb', line 120 def dns_servers @dns_servers end |
#dns_suffix ⇒ Array[String]
Global dns settings. To keep compatibility, dns settings in ‘ip_config` and `oob_ip_config` will overwrite this setting
125 126 127 |
# File 'lib/mist_api/models/site_setting.rb', line 125 def dns_suffix @dns_suffix end |
#enable_unii_4 ⇒ TrueClass | FalseClass
Global dns settings. To keep compatibility, dns settings in ‘ip_config` and `oob_ip_config` will overwrite this setting
130 131 132 |
# File 'lib/mist_api/models/site_setting.rb', line 130 def enable_unii_4 @enable_unii_4 end |
#engagement ⇒ SiteEngagement
Note: if hours does not exist, it’s treated as everyday of the week, 00:00-23:59. Currently, we don’t allow multiple ranges for the same day
135 136 137 |
# File 'lib/mist_api/models/site_setting.rb', line 135 def engagement @engagement end |
#evpn_options ⇒ EvpnOptions
EVPN Options
139 140 141 |
# File 'lib/mist_api/models/site_setting.rb', line 139 def @evpn_options end |
#extra_routes ⇒ Hash[String, ExtraRoute]
Property key is the destination CIDR (e.g. “10.0.0.0/8”)
143 144 145 |
# File 'lib/mist_api/models/site_setting.rb', line 143 def extra_routes @extra_routes end |
#extra_routes6 ⇒ Hash[String, ExtraRoute6]
Property key is the destination CIDR (e.g. “2a02:1234:420a:10c9::/64”)
147 148 149 |
# File 'lib/mist_api/models/site_setting.rb', line 147 def extra_routes6 @extra_routes6 end |
#flags ⇒ Hash[String, String]
Name/val pair objects for location engine to use
151 152 153 |
# File 'lib/mist_api/models/site_setting.rb', line 151 def flags @flags end |
#for_site ⇒ TrueClass | FalseClass
Name/val pair objects for location engine to use
155 156 157 |
# File 'lib/mist_api/models/site_setting.rb', line 155 def for_site @for_site end |
#gateway ⇒ GatewayTemplate
Gateway Template is applied to a site for gateway(s) in a site.
159 160 161 |
# File 'lib/mist_api/models/site_setting.rb', line 159 def gateway @gateway end |
#gateway_additional_config_cmds ⇒ Array[String]
additional CLI commands to append to the generated Junos config. Note: no check is done
164 165 166 |
# File 'lib/mist_api/models/site_setting.rb', line 164 def gateway_additional_config_cmds @gateway_additional_config_cmds end |
#gateway_mgmt ⇒ GatewayMgmt
Gateway Management settings
168 169 170 |
# File 'lib/mist_api/models/site_setting.rb', line 168 def gateway_mgmt @gateway_mgmt end |
#gateway_tunnel_updown_threshold ⇒ Integer
enable threshold-based gateway tunnel (secure edge tunnels) up-down delivery.
173 174 175 |
# File 'lib/mist_api/models/site_setting.rb', line 173 def gateway_tunnel_updown_threshold @gateway_tunnel_updown_threshold end |
#gateway_updown_threshold ⇒ Integer
Enable threshold-based device down delivery for Gateway devices only. When configured it takes effect for GW devices and ‘device_updown_threshold` is ignored.
179 180 181 |
# File 'lib/mist_api/models/site_setting.rb', line 179 def gateway_updown_threshold @gateway_updown_threshold end |
#id ⇒ UUID | String
Unique ID of the object instance in the Mist Organization
183 184 185 |
# File 'lib/mist_api/models/site_setting.rb', line 183 def id @id end |
#iotproxy ⇒ Iotproxy
IoT proxy configuration for the site
187 188 189 |
# File 'lib/mist_api/models/site_setting.rb', line 187 def iotproxy @iotproxy end |
#juniper_srx ⇒ SiteSettingJuniperSrx
IoT proxy configuration for the site
191 192 193 |
# File 'lib/mist_api/models/site_setting.rb', line 191 def juniper_srx @juniper_srx end |
#led ⇒ ApLed
LED AP settings
195 196 197 |
# File 'lib/mist_api/models/site_setting.rb', line 195 def led @led end |
#marvis ⇒ Marvis
LED AP settings
199 200 201 |
# File 'lib/mist_api/models/site_setting.rb', line 199 def marvis @marvis end |
#mist_nac ⇒ SwitchMistNac
Enable mist_nac to use RadSec
203 204 205 |
# File 'lib/mist_api/models/site_setting.rb', line 203 def mist_nac @mist_nac end |
#modified_time ⇒ Float
When the object has been modified for the last time, in epoch
207 208 209 |
# File 'lib/mist_api/models/site_setting.rb', line 207 def modified_time @modified_time end |
#mxedge ⇒ SiteSettingMxedge
Site Mist Edges form a cluster of RadSec Proxy servers
211 212 213 |
# File 'lib/mist_api/models/site_setting.rb', line 211 def mxedge @mxedge end |
#mxedge_mgmt ⇒ MxedgeMgmt
Site Mist Edges form a cluster of RadSec Proxy servers
215 216 217 |
# File 'lib/mist_api/models/site_setting.rb', line 215 def mxedge_mgmt @mxedge_mgmt end |
#mxtunnels ⇒ SiteMxtunnel
Site MxTunnel
219 220 221 |
# File 'lib/mist_api/models/site_setting.rb', line 219 def mxtunnels @mxtunnels end |
#networks ⇒ Hash[String, SwitchNetwork]
Property key is network name
223 224 225 |
# File 'lib/mist_api/models/site_setting.rb', line 223 def networks @networks end |
#ntp_servers ⇒ Array[String]
List of NTP servers
227 228 229 |
# File 'lib/mist_api/models/site_setting.rb', line 227 def ntp_servers @ntp_servers end |
#occupancy ⇒ SiteOccupancyAnalytics
Occupancy Analytics settings
231 232 233 |
# File 'lib/mist_api/models/site_setting.rb', line 231 def occupancy @occupancy end |
#org_id ⇒ UUID | String
Occupancy Analytics settings
235 236 237 |
# File 'lib/mist_api/models/site_setting.rb', line 235 def org_id @org_id end |
#ospf_areas ⇒ Hash[String, OspfArea]
Junos OSPF areas. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
240 241 242 |
# File 'lib/mist_api/models/site_setting.rb', line 240 def ospf_areas @ospf_areas end |
#paloalto_networks ⇒ SiteSettingPaloaltoNetworks
Junos OSPF areas. Property key is the OSPF Area (Area should be a number (0-255) / IP address)
245 246 247 |
# File 'lib/mist_api/models/site_setting.rb', line 245 def paloalto_networks @paloalto_networks end |
#persist_config_on_device ⇒ TrueClass | FalseClass
Whether to store the config on AP
249 250 251 |
# File 'lib/mist_api/models/site_setting.rb', line 249 def persist_config_on_device @persist_config_on_device end |
#port_mirroring ⇒ Hash[String, SwitchPortMirroringProperty]
Property key is the port mirroring instance name. ‘port_mirroring` can be added under device/site settings. It takes interface and ports as input for ingress, interface as input for egress and can take interface and port as output. A maximum 4 mirroring ports is allowed
256 257 258 |
# File 'lib/mist_api/models/site_setting.rb', line 256 def port_mirroring @port_mirroring end |
#port_usages ⇒ Hash[String, SwitchPortUsage]
Property key is the port usage name. Defines the profiles of port configuration configured on the switch
261 262 263 |
# File 'lib/mist_api/models/site_setting.rb', line 261 def port_usages @port_usages end |
#proxy ⇒ Proxy
Proxy Configuration to talk to Mist
265 266 267 |
# File 'lib/mist_api/models/site_setting.rb', line 265 def proxy @proxy end |
#radio_config ⇒ ApRadio
Radio AP settings
269 270 271 |
# File 'lib/mist_api/models/site_setting.rb', line 269 def radio_config @radio_config end |
#radius_config ⇒ SwitchRadiusConfig
Junos Radius config
273 274 275 |
# File 'lib/mist_api/models/site_setting.rb', line 273 def radius_config @radius_config end |
#remote_syslog ⇒ RemoteSyslog
Junos Radius config
277 278 279 |
# File 'lib/mist_api/models/site_setting.rb', line 277 def remote_syslog @remote_syslog end |
#remove_existing_configs ⇒ TrueClass | FalseClass
By default, only the configuration generated by Mist is cleaned up during the configuration process. If ‘true`, all the existing configuration will be removed.
283 284 285 |
# File 'lib/mist_api/models/site_setting.rb', line 283 def remove_existing_configs @remove_existing_configs end |
#report_gatt ⇒ TrueClass | FalseClass
Whether AP should periodically connect to BLE devices and report GATT device info (device name, manufacturer name, serial number, battery %, temperature, humidity)
289 290 291 |
# File 'lib/mist_api/models/site_setting.rb', line 289 def report_gatt @report_gatt end |
#rogue ⇒ SiteRogue
Rogue site settings
293 294 295 |
# File 'lib/mist_api/models/site_setting.rb', line 293 def rogue @rogue end |
#routing_policies ⇒ Hash[String, SwRoutingPolicy]
Property key is the routing policy name
297 298 299 |
# File 'lib/mist_api/models/site_setting.rb', line 297 def routing_policies @routing_policies end |
#rtsa ⇒ SiteSettingRtsa
Managed mobility
301 302 303 |
# File 'lib/mist_api/models/site_setting.rb', line 301 def rtsa @rtsa end |
#simple_alert ⇒ SimpleAlert
Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
307 308 309 |
# File 'lib/mist_api/models/site_setting.rb', line 307 def simple_alert @simple_alert end |
#site_id ⇒ UUID | String
Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
313 314 315 |
# File 'lib/mist_api/models/site_setting.rb', line 313 def site_id @site_id end |
#skyatp ⇒ SiteSettingSkyatp
Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
319 320 321 |
# File 'lib/mist_api/models/site_setting.rb', line 319 def skyatp @skyatp end |
#sle_thresholds ⇒ SleThresholds
Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
325 326 327 |
# File 'lib/mist_api/models/site_setting.rb', line 325 def sle_thresholds @sle_thresholds end |
#snmp_config ⇒ SnmpConfig
Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
331 332 333 |
# File 'lib/mist_api/models/site_setting.rb', line 331 def snmp_config @snmp_config end |
#srx_app ⇒ SiteSettingSrxApp
Set of heuristic rules will be enabled when marvis subscription is not available. It triggers when, in a Z minute window, there are more than Y distinct client encountering over X failures
337 338 339 |
# File 'lib/mist_api/models/site_setting.rb', line 337 def srx_app @srx_app end |
#ssh_keys ⇒ Array[String]
When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting)
342 343 344 |
# File 'lib/mist_api/models/site_setting.rb', line 342 def ssh_keys @ssh_keys end |
#ssr ⇒ SettingSsr
When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting)
347 348 349 |
# File 'lib/mist_api/models/site_setting.rb', line 347 def ssr @ssr end |
#status_portal ⇒ SiteSettingStatusPortal
When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting)
352 353 354 |
# File 'lib/mist_api/models/site_setting.rb', line 352 def status_portal @status_portal end |
#switch ⇒ SiteSettingSwitch
When limit_ssh_access = true in Org Setting, list of SSH public keys provided by Mist Support to install onto APs (see Org:Setting)
357 358 359 |
# File 'lib/mist_api/models/site_setting.rb', line 357 def switch @switch end |
#switch_matching ⇒ SwitchMatching
Defines custom switch configuration based on different criteria
361 362 363 |
# File 'lib/mist_api/models/site_setting.rb', line 361 def switch_matching @switch_matching end |
#switch_mgmt ⇒ SwitchMgmt
Switch Management settings
365 366 367 |
# File 'lib/mist_api/models/site_setting.rb', line 365 def switch_mgmt @switch_mgmt end |
#switch_updown_threshold ⇒ Integer
Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and ‘device_updown_threshold` is ignored.
371 372 373 |
# File 'lib/mist_api/models/site_setting.rb', line 371 def switch_updown_threshold @switch_updown_threshold end |
#synthetic_test ⇒ SynthetictestConfig
Enable threshold-based device down delivery for Switch devices only. When configured it takes effect for SW devices and ‘device_updown_threshold` is ignored.
377 378 379 |
# File 'lib/mist_api/models/site_setting.rb', line 377 def synthetic_test @synthetic_test end |
#track_anonymous_devices ⇒ TrueClass | FalseClass
Whether to track anonymous BLE assets (requires ‘track_asset’ enabled)
381 382 383 |
# File 'lib/mist_api/models/site_setting.rb', line 381 def track_anonymous_devices @track_anonymous_devices end |
#tunterm_monitoring ⇒ Array[TuntermMonitoringItem]
Whether to track anonymous BLE assets (requires ‘track_asset’ enabled)
385 386 387 |
# File 'lib/mist_api/models/site_setting.rb', line 385 def tunterm_monitoring @tunterm_monitoring end |
#tunterm_monitoring_disabled ⇒ TrueClass | FalseClass
Whether to track anonymous BLE assets (requires ‘track_asset’ enabled)
389 390 391 |
# File 'lib/mist_api/models/site_setting.rb', line 389 def tunterm_monitoring_disabled @tunterm_monitoring_disabled end |
#tunterm_multicast_config ⇒ SiteSettingTuntermMulticastConfig
Whether to track anonymous BLE assets (requires ‘track_asset’ enabled)
393 394 395 |
# File 'lib/mist_api/models/site_setting.rb', line 393 def tunterm_multicast_config @tunterm_multicast_config end |
#uplink_port_config ⇒ ApUplinkPortConfig
AP Uplink port configuration
397 398 399 |
# File 'lib/mist_api/models/site_setting.rb', line 397 def uplink_port_config @uplink_port_config end |
#uses_description_from_port_usage ⇒ TrueClass | FalseClass
by default, we only honor description provided in port_config. This allows fallback to those defined in port_usages
402 403 404 |
# File 'lib/mist_api/models/site_setting.rb', line 402 def uses_description_from_port_usage @uses_description_from_port_usage end |
#vars ⇒ Hash[String, String]
Dictionary of name->value, the vars can then be used in Wlans. This can overwrite those from Site Vars
407 408 409 |
# File 'lib/mist_api/models/site_setting.rb', line 407 def vars @vars end |
#vars_annotations ⇒ Hash[String, VarsAnnotation]
Optional annotations for vars defined in this site. Keys match var names; values describe the var purpose and type for UI auto-complete.
412 413 414 |
# File 'lib/mist_api/models/site_setting.rb', line 412 def vars_annotations @vars_annotations end |
#vna ⇒ SiteSettingVna
Optional annotations for vars defined in this site. Keys match var names; values describe the var purpose and type for UI auto-complete.
417 418 419 |
# File 'lib/mist_api/models/site_setting.rb', line 417 def vna @vna end |
#vpn_path_updown_threshold ⇒ Integer
enable threshold-based vpn path down delivery.
421 422 423 |
# File 'lib/mist_api/models/site_setting.rb', line 421 def vpn_path_updown_threshold @vpn_path_updown_threshold end |
#vpn_peer_updown_threshold ⇒ Integer
enable threshold-based vpn peer down delivery.
425 426 427 |
# File 'lib/mist_api/models/site_setting.rb', line 425 def vpn_peer_updown_threshold @vpn_peer_updown_threshold end |
#vrf_config ⇒ VrfConfig
enable threshold-based vpn peer down delivery.
429 430 431 |
# File 'lib/mist_api/models/site_setting.rb', line 429 def vrf_config @vrf_config end |
#vrf_instances ⇒ Hash[String, SwitchVrfInstance]
Property key is the network name
433 434 435 |
# File 'lib/mist_api/models/site_setting.rb', line 433 def vrf_instances @vrf_instances end |
#vrrp_groups ⇒ Hash[String, VrrpGroup]
Property key is the vrrp group
437 438 439 |
# File 'lib/mist_api/models/site_setting.rb', line 437 def vrrp_groups @vrrp_groups end |
#vs_instance ⇒ Hash[String, VsInstanceProperty]
Optional, for EX9200 only to segregate virtual-switches. Property key is the instance name
442 443 444 |
# File 'lib/mist_api/models/site_setting.rb', line 442 def vs_instance @vs_instance end |
#wan_vna ⇒ SiteSettingWanVna
Optional, for EX9200 only to segregate virtual-switches. Property key is the instance name
447 448 449 |
# File 'lib/mist_api/models/site_setting.rb', line 447 def wan_vna @wan_vna end |
#watched_station_url ⇒ String
Optional, for EX9200 only to segregate virtual-switches. Property key is the instance name
452 453 454 |
# File 'lib/mist_api/models/site_setting.rb', line 452 def watched_station_url @watched_station_url end |
#whitelist_url ⇒ String
Optional, for EX9200 only to segregate virtual-switches. Property key is the instance name
457 458 459 |
# File 'lib/mist_api/models/site_setting.rb', line 457 def whitelist_url @whitelist_url end |
#wids ⇒ SiteWids
WIDS site settings
461 462 463 |
# File 'lib/mist_api/models/site_setting.rb', line 461 def wids @wids end |
#wifi ⇒ SiteWifi
Wi-Fi site settings
465 466 467 |
# File 'lib/mist_api/models/site_setting.rb', line 465 def wifi @wifi end |
#wired_vna ⇒ SiteSettingWiredVna
Wi-Fi site settings
469 470 471 |
# File 'lib/mist_api/models/site_setting.rb', line 469 def wired_vna @wired_vna end |
#zone_occupancy_alert ⇒ SiteZoneOccupancyAlert
Zone Occupancy alert site settings
473 474 475 |
# File 'lib/mist_api/models/site_setting.rb', line 473 def zone_occupancy_alert @zone_occupancy_alert end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 |
# File 'lib/mist_api/models/site_setting.rb', line 885 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. # Parameter is an array, so we need to iterate through it acl_policies = nil unless hash['acl_policies'].nil? acl_policies = [] hash['acl_policies'].each do |structure| acl_policies << (AclPolicy.from_hash(structure) if structure) end end acl_policies = SKIP unless hash.key?('acl_policies') = AclTag.from_hash(hash['acl_tags']) if hash['acl_tags'] = SKIP unless hash.key?('acl_tags') additional_config_cmds = hash.key?('additional_config_cmds') ? hash['additional_config_cmds'] : SKIP allow_mist = hash['allow_mist'] ||= false analytic = SiteSettingAnalytic.from_hash(hash['analytic']) if hash['analytic'] ap_matching = SiteSettingApMatching.from_hash(hash['ap_matching']) if hash['ap_matching'] ap_port_config = SiteSettingApPortConfig.from_hash(hash['ap_port_config']) if hash['ap_port_config'] ap_synthetic_test = SiteSettingApSyntheticTest.from_hash(hash['ap_synthetic_test']) if hash['ap_synthetic_test'] ap_updown_threshold = hash['ap_updown_threshold'] ||= 0 auto_placement = SiteSettingAutoPlacement.from_hash(hash['auto_placement']) if hash['auto_placement'] auto_upgrade = SiteSettingAutoUpgrade.from_hash(hash['auto_upgrade']) if hash['auto_upgrade'] auto_upgrade_esl = SiteSettingAutoUpgradeEsl.from_hash(hash['auto_upgrade_esl']) if hash['auto_upgrade_esl'] auto_upgrade_linecard = hash['auto_upgrade_linecard'] ||= true bgp_neighbor_updown_threshold = hash.key?('bgp_neighbor_updown_threshold') ? hash['bgp_neighbor_updown_threshold'] : SKIP blacklist_url = hash.key?('blacklist_url') ? hash['blacklist_url'] : SKIP ble_config = BleConfig.from_hash(hash['ble_config']) if hash['ble_config'] config_auto_revert = hash['config_auto_revert'] ||= false config_push_policy = SiteSettingConfigPushPolicy.from_hash(hash['config_push_policy']) if hash['config_push_policy'] created_time = hash.key?('created_time') ? hash['created_time'] : SKIP if hash['critical_url_monitoring'] critical_url_monitoring = SiteSettingCriticalUrlMonitoring.from_hash(hash['critical_url_monitoring']) end device_updown_threshold = hash['device_updown_threshold'] ||= 0 dhcp_snooping = DhcpSnooping.from_hash(hash['dhcp_snooping']) if hash['dhcp_snooping'] disabled_system_defined_port_usages = hash.key?('disabled_system_defined_port_usages') ? hash['disabled_system_defined_port_usages'] : SKIP dns_servers = hash.key?('dns_servers') ? hash['dns_servers'] : SKIP dns_suffix = hash.key?('dns_suffix') ? hash['dns_suffix'] : SKIP enable_unii_4 = hash['enable_unii_4'] ||= false engagement = SiteEngagement.from_hash(hash['engagement']) if hash['engagement'] = EvpnOptions.from_hash(hash['evpn_options']) if hash['evpn_options'] extra_routes = ExtraRoute.from_hash(hash['extra_routes']) if hash['extra_routes'] extra_routes = SKIP unless hash.key?('extra_routes') extra_routes6 = ExtraRoute6.from_hash(hash['extra_routes6']) if hash['extra_routes6'] extra_routes6 = SKIP unless hash.key?('extra_routes6') flags = hash.key?('flags') ? hash['flags'] : SKIP for_site = hash.key?('for_site') ? hash['for_site'] : SKIP gateway = GatewayTemplate.from_hash(hash['gateway']) if hash['gateway'] gateway_additional_config_cmds = hash.key?('gateway_additional_config_cmds') ? hash['gateway_additional_config_cmds'] : SKIP gateway_mgmt = GatewayMgmt.from_hash(hash['gateway_mgmt']) if hash['gateway_mgmt'] gateway_tunnel_updown_threshold = hash.key?('gateway_tunnel_updown_threshold') ? hash['gateway_tunnel_updown_threshold'] : SKIP gateway_updown_threshold = hash['gateway_updown_threshold'] ||= 0 id = hash.key?('id') ? hash['id'] : SKIP iotproxy = Iotproxy.from_hash(hash['iotproxy']) if hash['iotproxy'] juniper_srx = SiteSettingJuniperSrx.from_hash(hash['juniper_srx']) if hash['juniper_srx'] led = ApLed.from_hash(hash['led']) if hash['led'] marvis = Marvis.from_hash(hash['marvis']) if hash['marvis'] mist_nac = SwitchMistNac.from_hash(hash['mist_nac']) if hash['mist_nac'] modified_time = hash.key?('modified_time') ? hash['modified_time'] : SKIP mxedge = SiteSettingMxedge.from_hash(hash['mxedge']) if hash['mxedge'] mxedge_mgmt = MxedgeMgmt.from_hash(hash['mxedge_mgmt']) if hash['mxedge_mgmt'] mxtunnels = SiteMxtunnel.from_hash(hash['mxtunnels']) if hash['mxtunnels'] networks = SwitchNetwork.from_hash(hash['networks']) if hash['networks'] networks = SKIP unless hash.key?('networks') ntp_servers = hash.key?('ntp_servers') ? hash['ntp_servers'] : SKIP occupancy = SiteOccupancyAnalytics.from_hash(hash['occupancy']) if hash['occupancy'] org_id = hash.key?('org_id') ? hash['org_id'] : SKIP ospf_areas = OspfArea.from_hash(hash['ospf_areas']) if hash['ospf_areas'] ospf_areas = SKIP unless hash.key?('ospf_areas') paloalto_networks = SiteSettingPaloaltoNetworks.from_hash(hash['paloalto_networks']) if hash['paloalto_networks'] persist_config_on_device = hash['persist_config_on_device'] ||= false port_mirroring = SwitchPortMirroringProperty.from_hash(hash['port_mirroring']) if hash['port_mirroring'] port_mirroring = SKIP unless hash.key?('port_mirroring') port_usages = SwitchPortUsage.from_hash(hash['port_usages']) if hash['port_usages'] port_usages = SKIP unless hash.key?('port_usages') proxy = Proxy.from_hash(hash['proxy']) if hash['proxy'] radio_config = ApRadio.from_hash(hash['radio_config']) if hash['radio_config'] radius_config = SwitchRadiusConfig.from_hash(hash['radius_config']) if hash['radius_config'] remote_syslog = RemoteSyslog.from_hash(hash['remote_syslog']) if hash['remote_syslog'] remove_existing_configs = hash['remove_existing_configs'] ||= false report_gatt = hash['report_gatt'] ||= false rogue = SiteRogue.from_hash(hash['rogue']) if hash['rogue'] routing_policies = SwRoutingPolicy.from_hash(hash['routing_policies']) if hash['routing_policies'] routing_policies = SKIP unless hash.key?('routing_policies') rtsa = SiteSettingRtsa.from_hash(hash['rtsa']) if hash['rtsa'] simple_alert = SimpleAlert.from_hash(hash['simple_alert']) if hash['simple_alert'] site_id = hash.key?('site_id') ? hash['site_id'] : SKIP skyatp = SiteSettingSkyatp.from_hash(hash['skyatp']) if hash['skyatp'] sle_thresholds = SleThresholds.from_hash(hash['sle_thresholds']) if hash['sle_thresholds'] snmp_config = SnmpConfig.from_hash(hash['snmp_config']) if hash['snmp_config'] srx_app = SiteSettingSrxApp.from_hash(hash['srx_app']) if hash['srx_app'] ssh_keys = hash.key?('ssh_keys') ? hash['ssh_keys'] : SKIP ssr = SettingSsr.from_hash(hash['ssr']) if hash['ssr'] status_portal = SiteSettingStatusPortal.from_hash(hash['status_portal']) if hash['status_portal'] switch = SiteSettingSwitch.from_hash(hash['switch']) if hash['switch'] switch_matching = SwitchMatching.from_hash(hash['switch_matching']) if hash['switch_matching'] switch_mgmt = SwitchMgmt.from_hash(hash['switch_mgmt']) if hash['switch_mgmt'] switch_updown_threshold = hash['switch_updown_threshold'] ||= 0 synthetic_test = SynthetictestConfig.from_hash(hash['synthetic_test']) if hash['synthetic_test'] track_anonymous_devices = hash['track_anonymous_devices'] ||= false # Parameter is an array, so we need to iterate through it tunterm_monitoring = nil unless hash['tunterm_monitoring'].nil? tunterm_monitoring = [] hash['tunterm_monitoring'].each do |structure| tunterm_monitoring << (TuntermMonitoringItem.from_hash(structure) if structure) end end tunterm_monitoring = SKIP unless hash.key?('tunterm_monitoring') tunterm_monitoring_disabled = hash['tunterm_monitoring_disabled'] ||= false if hash['tunterm_multicast_config'] tunterm_multicast_config = SiteSettingTuntermMulticastConfig.from_hash(hash['tunterm_multicast_config']) end uplink_port_config = ApUplinkPortConfig.from_hash(hash['uplink_port_config']) if hash['uplink_port_config'] uses_description_from_port_usage = hash['uses_description_from_port_usage'] ||= false vars = hash.key?('vars') ? hash['vars'] : SKIP vars_annotations = VarsAnnotation.from_hash(hash['vars_annotations']) if hash['vars_annotations'] vars_annotations = SKIP unless hash.key?('vars_annotations') vna = SiteSettingVna.from_hash(hash['vna']) if hash['vna'] vpn_path_updown_threshold = hash.key?('vpn_path_updown_threshold') ? hash['vpn_path_updown_threshold'] : SKIP vpn_peer_updown_threshold = hash.key?('vpn_peer_updown_threshold') ? hash['vpn_peer_updown_threshold'] : SKIP vrf_config = VrfConfig.from_hash(hash['vrf_config']) if hash['vrf_config'] vrf_instances = SwitchVrfInstance.from_hash(hash['vrf_instances']) if hash['vrf_instances'] vrf_instances = SKIP unless hash.key?('vrf_instances') vrrp_groups = VrrpGroup.from_hash(hash['vrrp_groups']) if hash['vrrp_groups'] vrrp_groups = SKIP unless hash.key?('vrrp_groups') vs_instance = VsInstanceProperty.from_hash(hash['vs_instance']) if hash['vs_instance'] vs_instance = SKIP unless hash.key?('vs_instance') wan_vna = SiteSettingWanVna.from_hash(hash['wan_vna']) if hash['wan_vna'] watched_station_url = hash.key?('watched_station_url') ? hash['watched_station_url'] : SKIP whitelist_url = hash.key?('whitelist_url') ? hash['whitelist_url'] : SKIP wids = SiteWids.from_hash(hash['wids']) if hash['wids'] wifi = SiteWifi.from_hash(hash['wifi']) if hash['wifi'] wired_vna = SiteSettingWiredVna.from_hash(hash['wired_vna']) if hash['wired_vna'] zone_occupancy_alert = SiteZoneOccupancyAlert.from_hash(hash['zone_occupancy_alert']) if hash['zone_occupancy_alert'] # Create a new hash for additional properties, removing known properties. new_hash = hash.reject { |k, _| names.value?(k) } additional_properties = APIHelper.get_additional_properties( new_hash, proc { |value| value } ) # Create object from extracted values. SiteSetting.new(acl_policies, , additional_config_cmds, allow_mist, analytic, ap_matching, ap_port_config, ap_synthetic_test, ap_updown_threshold, auto_placement, auto_upgrade, auto_upgrade_esl, auto_upgrade_linecard, bgp_neighbor_updown_threshold, blacklist_url, ble_config, config_auto_revert, config_push_policy, created_time, critical_url_monitoring, device_updown_threshold, dhcp_snooping, disabled_system_defined_port_usages, dns_servers, dns_suffix, enable_unii_4, engagement, , extra_routes, extra_routes6, flags, for_site, gateway, gateway_additional_config_cmds, gateway_mgmt, gateway_tunnel_updown_threshold, gateway_updown_threshold, id, iotproxy, juniper_srx, led, marvis, mist_nac, modified_time, mxedge, mxedge_mgmt, mxtunnels, networks, ntp_servers, occupancy, org_id, ospf_areas, paloalto_networks, persist_config_on_device, port_mirroring, port_usages, proxy, radio_config, radius_config, remote_syslog, remove_existing_configs, report_gatt, rogue, routing_policies, rtsa, simple_alert, site_id, skyatp, sle_thresholds, snmp_config, srx_app, ssh_keys, ssr, status_portal, switch, switch_matching, switch_mgmt, switch_updown_threshold, synthetic_test, track_anonymous_devices, tunterm_monitoring, tunterm_monitoring_disabled, tunterm_multicast_config, uplink_port_config, uses_description_from_port_usage, vars, vars_annotations, vna, vpn_path_updown_threshold, vpn_peer_updown_threshold, vrf_config, vrf_instances, vrrp_groups, vs_instance, wan_vna, watched_station_url, whitelist_url, wids, wifi, wired_vna, zone_occupancy_alert, additional_properties) end |
.names ⇒ Object
A mapping from model property names to API property names.
476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 |
# File 'lib/mist_api/models/site_setting.rb', line 476 def self.names @_hash = {} if @_hash.nil? @_hash['acl_policies'] = 'acl_policies' @_hash['acl_tags'] = 'acl_tags' @_hash['additional_config_cmds'] = 'additional_config_cmds' @_hash['allow_mist'] = 'allow_mist' @_hash['analytic'] = 'analytic' @_hash['ap_matching'] = 'ap_matching' @_hash['ap_port_config'] = 'ap_port_config' @_hash['ap_synthetic_test'] = 'ap_synthetic_test' @_hash['ap_updown_threshold'] = 'ap_updown_threshold' @_hash['auto_placement'] = 'auto_placement' @_hash['auto_upgrade'] = 'auto_upgrade' @_hash['auto_upgrade_esl'] = 'auto_upgrade_esl' @_hash['auto_upgrade_linecard'] = 'auto_upgrade_linecard' @_hash['bgp_neighbor_updown_threshold'] = 'bgp_neighbor_updown_threshold' @_hash['blacklist_url'] = 'blacklist_url' @_hash['ble_config'] = 'ble_config' @_hash['config_auto_revert'] = 'config_auto_revert' @_hash['config_push_policy'] = 'config_push_policy' @_hash['created_time'] = 'created_time' @_hash['critical_url_monitoring'] = 'critical_url_monitoring' @_hash['device_updown_threshold'] = 'device_updown_threshold' @_hash['dhcp_snooping'] = 'dhcp_snooping' @_hash['disabled_system_defined_port_usages'] = 'disabled_system_defined_port_usages' @_hash['dns_servers'] = 'dns_servers' @_hash['dns_suffix'] = 'dns_suffix' @_hash['enable_unii_4'] = 'enable_unii_4' @_hash['engagement'] = 'engagement' @_hash['evpn_options'] = 'evpn_options' @_hash['extra_routes'] = 'extra_routes' @_hash['extra_routes6'] = 'extra_routes6' @_hash['flags'] = 'flags' @_hash['for_site'] = 'for_site' @_hash['gateway'] = 'gateway' @_hash['gateway_additional_config_cmds'] = 'gateway_additional_config_cmds' @_hash['gateway_mgmt'] = 'gateway_mgmt' @_hash['gateway_tunnel_updown_threshold'] = 'gateway_tunnel_updown_threshold' @_hash['gateway_updown_threshold'] = 'gateway_updown_threshold' @_hash['id'] = 'id' @_hash['iotproxy'] = 'iotproxy' @_hash['juniper_srx'] = 'juniper_srx' @_hash['led'] = 'led' @_hash['marvis'] = 'marvis' @_hash['mist_nac'] = 'mist_nac' @_hash['modified_time'] = 'modified_time' @_hash['mxedge'] = 'mxedge' @_hash['mxedge_mgmt'] = 'mxedge_mgmt' @_hash['mxtunnels'] = 'mxtunnels' @_hash['networks'] = 'networks' @_hash['ntp_servers'] = 'ntp_servers' @_hash['occupancy'] = 'occupancy' @_hash['org_id'] = 'org_id' @_hash['ospf_areas'] = 'ospf_areas' @_hash['paloalto_networks'] = 'paloalto_networks' @_hash['persist_config_on_device'] = 'persist_config_on_device' @_hash['port_mirroring'] = 'port_mirroring' @_hash['port_usages'] = 'port_usages' @_hash['proxy'] = 'proxy' @_hash['radio_config'] = 'radio_config' @_hash['radius_config'] = 'radius_config' @_hash['remote_syslog'] = 'remote_syslog' @_hash['remove_existing_configs'] = 'remove_existing_configs' @_hash['report_gatt'] = 'report_gatt' @_hash['rogue'] = 'rogue' @_hash['routing_policies'] = 'routing_policies' @_hash['rtsa'] = 'rtsa' @_hash['simple_alert'] = 'simple_alert' @_hash['site_id'] = 'site_id' @_hash['skyatp'] = 'skyatp' @_hash['sle_thresholds'] = 'sle_thresholds' @_hash['snmp_config'] = 'snmp_config' @_hash['srx_app'] = 'srx_app' @_hash['ssh_keys'] = 'ssh_keys' @_hash['ssr'] = 'ssr' @_hash['status_portal'] = 'status_portal' @_hash['switch'] = 'switch' @_hash['switch_matching'] = 'switch_matching' @_hash['switch_mgmt'] = 'switch_mgmt' @_hash['switch_updown_threshold'] = 'switch_updown_threshold' @_hash['synthetic_test'] = 'synthetic_test' @_hash['track_anonymous_devices'] = 'track_anonymous_devices' @_hash['tunterm_monitoring'] = 'tunterm_monitoring' @_hash['tunterm_monitoring_disabled'] = 'tunterm_monitoring_disabled' @_hash['tunterm_multicast_config'] = 'tunterm_multicast_config' @_hash['uplink_port_config'] = 'uplink_port_config' @_hash['uses_description_from_port_usage'] = 'uses_description_from_port_usage' @_hash['vars'] = 'vars' @_hash['vars_annotations'] = 'vars_annotations' @_hash['vna'] = 'vna' @_hash['vpn_path_updown_threshold'] = 'vpn_path_updown_threshold' @_hash['vpn_peer_updown_threshold'] = 'vpn_peer_updown_threshold' @_hash['vrf_config'] = 'vrf_config' @_hash['vrf_instances'] = 'vrf_instances' @_hash['vrrp_groups'] = 'vrrp_groups' @_hash['vs_instance'] = 'vs_instance' @_hash['wan_vna'] = 'wan_vna' @_hash['watched_station_url'] = 'watched_station_url' @_hash['whitelist_url'] = 'whitelist_url' @_hash['wids'] = 'wids' @_hash['wifi'] = 'wifi' @_hash['wired_vna'] = 'wired_vna' @_hash['zone_occupancy_alert'] = 'zone_occupancy_alert' @_hash end |
.nullables ⇒ Object
An array for nullable fields
695 696 697 698 699 700 701 702 703 704 705 706 |
# File 'lib/mist_api/models/site_setting.rb', line 695 def self.nullables %w[ ap_updown_threshold bgp_neighbor_updown_threshold device_updown_threshold gateway_tunnel_updown_threshold gateway_updown_threshold switch_updown_threshold vpn_path_updown_threshold vpn_peer_updown_threshold ] end |
.optionals ⇒ Object
An array for optional fields
588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 |
# File 'lib/mist_api/models/site_setting.rb', line 588 def self.optionals %w[ acl_policies acl_tags additional_config_cmds allow_mist analytic ap_matching ap_port_config ap_synthetic_test ap_updown_threshold auto_placement auto_upgrade auto_upgrade_esl auto_upgrade_linecard bgp_neighbor_updown_threshold blacklist_url ble_config config_auto_revert config_push_policy created_time critical_url_monitoring device_updown_threshold dhcp_snooping disabled_system_defined_port_usages dns_servers dns_suffix enable_unii_4 engagement evpn_options extra_routes extra_routes6 flags for_site gateway gateway_additional_config_cmds gateway_mgmt gateway_tunnel_updown_threshold gateway_updown_threshold id iotproxy juniper_srx led marvis mist_nac modified_time mxedge mxedge_mgmt mxtunnels networks ntp_servers occupancy org_id ospf_areas paloalto_networks persist_config_on_device port_mirroring port_usages proxy radio_config radius_config remote_syslog remove_existing_configs report_gatt rogue routing_policies rtsa simple_alert site_id skyatp sle_thresholds snmp_config srx_app ssh_keys ssr status_portal switch switch_matching switch_mgmt switch_updown_threshold synthetic_test track_anonymous_devices tunterm_monitoring tunterm_monitoring_disabled tunterm_multicast_config uplink_port_config uses_description_from_port_usage vars vars_annotations vna vpn_path_updown_threshold vpn_peer_updown_threshold vrf_config vrf_instances vrrp_groups vs_instance wan_vna watched_station_url whitelist_url wids wifi wired_vna zone_occupancy_alert ] end |
Instance Method Details
#inspect ⇒ Object
Provides a debugging-friendly string with detailed object information.
1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 |
# File 'lib/mist_api/models/site_setting.rb', line 1225 def inspect class_name = self.class.name.split('::').last "<#{class_name} acl_policies: #{@acl_policies.inspect}, acl_tags: #{@acl_tags.inspect},"\ " additional_config_cmds: #{@additional_config_cmds.inspect}, allow_mist:"\ " #{@allow_mist.inspect}, analytic: #{@analytic.inspect}, ap_matching:"\ " #{@ap_matching.inspect}, ap_port_config: #{@ap_port_config.inspect}, ap_synthetic_test:"\ " #{@ap_synthetic_test.inspect}, ap_updown_threshold: #{@ap_updown_threshold.inspect},"\ " auto_placement: #{@auto_placement.inspect}, auto_upgrade: #{@auto_upgrade.inspect},"\ " auto_upgrade_esl: #{@auto_upgrade_esl.inspect}, auto_upgrade_linecard:"\ " #{@auto_upgrade_linecard.inspect}, bgp_neighbor_updown_threshold:"\ " #{@bgp_neighbor_updown_threshold.inspect}, blacklist_url: #{@blacklist_url.inspect},"\ " ble_config: #{@ble_config.inspect}, config_auto_revert: #{@config_auto_revert.inspect},"\ " config_push_policy: #{@config_push_policy.inspect}, created_time:"\ " #{@created_time.inspect}, critical_url_monitoring: #{@critical_url_monitoring.inspect},"\ " device_updown_threshold: #{@device_updown_threshold.inspect}, dhcp_snooping:"\ " #{@dhcp_snooping.inspect}, disabled_system_defined_port_usages:"\ " #{@disabled_system_defined_port_usages.inspect}, dns_servers: #{@dns_servers.inspect},"\ " dns_suffix: #{@dns_suffix.inspect}, enable_unii_4: #{@enable_unii_4.inspect}, engagement:"\ " #{@engagement.inspect}, evpn_options: #{@evpn_options.inspect}, extra_routes:"\ " #{@extra_routes.inspect}, extra_routes6: #{@extra_routes6.inspect}, flags:"\ " #{@flags.inspect}, for_site: #{@for_site.inspect}, gateway: #{@gateway.inspect},"\ " gateway_additional_config_cmds: #{@gateway_additional_config_cmds.inspect}, gateway_mgmt:"\ " #{@gateway_mgmt.inspect}, gateway_tunnel_updown_threshold:"\ " #{@gateway_tunnel_updown_threshold.inspect}, gateway_updown_threshold:"\ " #{@gateway_updown_threshold.inspect}, id: #{@id.inspect}, iotproxy: #{@iotproxy.inspect},"\ " juniper_srx: #{@juniper_srx.inspect}, led: #{@led.inspect}, marvis: #{@marvis.inspect},"\ " mist_nac: #{@mist_nac.inspect}, modified_time: #{@modified_time.inspect}, mxedge:"\ " #{@mxedge.inspect}, mxedge_mgmt: #{@mxedge_mgmt.inspect}, mxtunnels:"\ " #{@mxtunnels.inspect}, networks: #{@networks.inspect}, ntp_servers:"\ " #{@ntp_servers.inspect}, occupancy: #{@occupancy.inspect}, org_id: #{@org_id.inspect},"\ " ospf_areas: #{@ospf_areas.inspect}, paloalto_networks: #{@paloalto_networks.inspect},"\ " persist_config_on_device: #{@persist_config_on_device.inspect}, port_mirroring:"\ " #{@port_mirroring.inspect}, port_usages: #{@port_usages.inspect}, proxy:"\ " #{@proxy.inspect}, radio_config: #{@radio_config.inspect}, radius_config:"\ " #{@radius_config.inspect}, remote_syslog: #{@remote_syslog.inspect},"\ " remove_existing_configs: #{@remove_existing_configs.inspect}, report_gatt:"\ " #{@report_gatt.inspect}, rogue: #{@rogue.inspect}, routing_policies:"\ " #{@routing_policies.inspect}, rtsa: #{@rtsa.inspect}, simple_alert:"\ " #{@simple_alert.inspect}, site_id: #{@site_id.inspect}, skyatp: #{@skyatp.inspect},"\ " sle_thresholds: #{@sle_thresholds.inspect}, snmp_config: #{@snmp_config.inspect}, srx_app:"\ " #{@srx_app.inspect}, ssh_keys: #{@ssh_keys.inspect}, ssr: #{@ssr.inspect}, status_portal:"\ " #{@status_portal.inspect}, switch: #{@switch.inspect}, switch_matching:"\ " #{@switch_matching.inspect}, switch_mgmt: #{@switch_mgmt.inspect},"\ " switch_updown_threshold: #{@switch_updown_threshold.inspect}, synthetic_test:"\ " #{@synthetic_test.inspect}, track_anonymous_devices: #{@track_anonymous_devices.inspect},"\ " tunterm_monitoring: #{@tunterm_monitoring.inspect}, tunterm_monitoring_disabled:"\ " #{@tunterm_monitoring_disabled.inspect}, tunterm_multicast_config:"\ " #{@tunterm_multicast_config.inspect}, uplink_port_config: #{@uplink_port_config.inspect},"\ " uses_description_from_port_usage: #{@uses_description_from_port_usage.inspect}, vars:"\ " #{@vars.inspect}, vars_annotations: #{@vars_annotations.inspect}, vna: #{@vna.inspect},"\ " vpn_path_updown_threshold: #{@vpn_path_updown_threshold.inspect},"\ " vpn_peer_updown_threshold: #{@vpn_peer_updown_threshold.inspect}, vrf_config:"\ " #{@vrf_config.inspect}, vrf_instances: #{@vrf_instances.inspect}, vrrp_groups:"\ " #{@vrrp_groups.inspect}, vs_instance: #{@vs_instance.inspect}, wan_vna:"\ " #{@wan_vna.inspect}, watched_station_url: #{@watched_station_url.inspect}, whitelist_url:"\ " #{@whitelist_url.inspect}, wids: #{@wids.inspect}, wifi: #{@wifi.inspect}, wired_vna:"\ " #{@wired_vna.inspect}, zone_occupancy_alert: #{@zone_occupancy_alert.inspect},"\ " additional_properties: #{@additional_properties}>" end |
#to_s ⇒ Object
Provides a human-readable string representation of the object.
1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 |
# File 'lib/mist_api/models/site_setting.rb', line 1175 def to_s class_name = self.class.name.split('::').last "<#{class_name} acl_policies: #{@acl_policies}, acl_tags: #{@acl_tags},"\ " additional_config_cmds: #{@additional_config_cmds}, allow_mist: #{@allow_mist}, analytic:"\ " #{@analytic}, ap_matching: #{@ap_matching}, ap_port_config: #{@ap_port_config},"\ " ap_synthetic_test: #{@ap_synthetic_test}, ap_updown_threshold: #{@ap_updown_threshold},"\ " auto_placement: #{@auto_placement}, auto_upgrade: #{@auto_upgrade}, auto_upgrade_esl:"\ " #{@auto_upgrade_esl}, auto_upgrade_linecard: #{@auto_upgrade_linecard},"\ " bgp_neighbor_updown_threshold: #{@bgp_neighbor_updown_threshold}, blacklist_url:"\ " #{@blacklist_url}, ble_config: #{@ble_config}, config_auto_revert: #{@config_auto_revert},"\ " config_push_policy: #{@config_push_policy}, created_time: #{@created_time},"\ " critical_url_monitoring: #{@critical_url_monitoring}, device_updown_threshold:"\ " #{@device_updown_threshold}, dhcp_snooping: #{@dhcp_snooping},"\ " disabled_system_defined_port_usages: #{@disabled_system_defined_port_usages}, dns_servers:"\ " #{@dns_servers}, dns_suffix: #{@dns_suffix}, enable_unii_4: #{@enable_unii_4}, engagement:"\ " #{@engagement}, evpn_options: #{@evpn_options}, extra_routes: #{@extra_routes},"\ " extra_routes6: #{@extra_routes6}, flags: #{@flags}, for_site: #{@for_site}, gateway:"\ " #{@gateway}, gateway_additional_config_cmds: #{@gateway_additional_config_cmds},"\ " gateway_mgmt: #{@gateway_mgmt}, gateway_tunnel_updown_threshold:"\ " #{@gateway_tunnel_updown_threshold}, gateway_updown_threshold:"\ " #{@gateway_updown_threshold}, id: #{@id}, iotproxy: #{@iotproxy}, juniper_srx:"\ " #{@juniper_srx}, led: #{@led}, marvis: #{@marvis}, mist_nac: #{@mist_nac}, modified_time:"\ " #{@modified_time}, mxedge: #{@mxedge}, mxedge_mgmt: #{@mxedge_mgmt}, mxtunnels:"\ " #{@mxtunnels}, networks: #{@networks}, ntp_servers: #{@ntp_servers}, occupancy:"\ " #{@occupancy}, org_id: #{@org_id}, ospf_areas: #{@ospf_areas}, paloalto_networks:"\ " #{@paloalto_networks}, persist_config_on_device: #{@persist_config_on_device},"\ " port_mirroring: #{@port_mirroring}, port_usages: #{@port_usages}, proxy: #{@proxy},"\ " radio_config: #{@radio_config}, radius_config: #{@radius_config}, remote_syslog:"\ " #{@remote_syslog}, remove_existing_configs: #{@remove_existing_configs}, report_gatt:"\ " #{@report_gatt}, rogue: #{@rogue}, routing_policies: #{@routing_policies}, rtsa: #{@rtsa},"\ " simple_alert: #{@simple_alert}, site_id: #{@site_id}, skyatp: #{@skyatp}, sle_thresholds:"\ " #{@sle_thresholds}, snmp_config: #{@snmp_config}, srx_app: #{@srx_app}, ssh_keys:"\ " #{@ssh_keys}, ssr: #{@ssr}, status_portal: #{@status_portal}, switch: #{@switch},"\ " switch_matching: #{@switch_matching}, switch_mgmt: #{@switch_mgmt},"\ " switch_updown_threshold: #{@switch_updown_threshold}, synthetic_test: #{@synthetic_test},"\ " track_anonymous_devices: #{@track_anonymous_devices}, tunterm_monitoring:"\ " #{@tunterm_monitoring}, tunterm_monitoring_disabled: #{@tunterm_monitoring_disabled},"\ " tunterm_multicast_config: #{@tunterm_multicast_config}, uplink_port_config:"\ " #{@uplink_port_config}, uses_description_from_port_usage:"\ " #{@uses_description_from_port_usage}, vars: #{@vars}, vars_annotations:"\ " #{@vars_annotations}, vna: #{@vna}, vpn_path_updown_threshold:"\ " #{@vpn_path_updown_threshold}, vpn_peer_updown_threshold: #{@vpn_peer_updown_threshold},"\ " vrf_config: #{@vrf_config}, vrf_instances: #{@vrf_instances}, vrrp_groups:"\ " #{@vrrp_groups}, vs_instance: #{@vs_instance}, wan_vna: #{@wan_vna}, watched_station_url:"\ " #{@watched_station_url}, whitelist_url: #{@whitelist_url}, wids: #{@wids}, wifi: #{@wifi},"\ " wired_vna: #{@wired_vna}, zone_occupancy_alert: #{@zone_occupancy_alert},"\ " additional_properties: #{@additional_properties}>" end |