action mist_get_org_network_template { label: "getOrgNetworkTemplate" description: "Get Org Network Templates Details" provider: mist method: GET path: "/api/v1/orgs/{org_id}/networktemplates/{networktemplate_id}" encoding: json output: { type: "object" description: "Network Template" properties: { additional_config_cmds: { type: "array" items: { type: "string" } } created_time: { type: "number" } dhcp_snooping: { type: "object" properties: { all_networks: { type: "boolean" } enable_arp_spoof_check: { type: "boolean" description: "Enable for dynamic ARP inspection check " } enable_ip_source_guard: { type: "boolean" description: "Enable for check for forging source IP address" } enabled: { type: "boolean" } networks: { type: "array" description: "if `all_networks`==`false`, list of network with DHCP snooping enabled" items: { type: "string" } } } } dns_servers: { type: "array" items: { type: "string" } } dns_suffix: { type: "array" items: { type: "string" } } extra_routes: { type: "object" } group_tags: { type: "object" } id: { type: "string" format: "uuid" } mist_nac: { type: "object" description: "enable mist_nac to use radsec" properties: { enabled: { type: "boolean" } network: { type: "string" } } } modified_time: { type: "number" } name: { type: "string" } networks: { type: "object" description: "The property key is network name" } ntp_servers: { type: "array" items: { type: "string" } } org_id: { type: "string" format: "uuid" } port_usages: { type: "object" description: "The property key is the port profile name" properties: { dynamic: { type: "object" description: "This is a special mode where the actually usage is determined by a set of rules the port will start with `access` mode and isolated depending on the rules, if resolved, the port will have the resolved usage applied." required: ["mode"] properties: { mode: { type: "string" enum: ["dynamic"] } reset_default_when: { type: "string" description: "Control when the DPC port should be changed to the default port usage\nConfiguring to none will let the DPC port keep at the current port usage." enum: ["none", "link_down"] } rules: { type: "array" items: { type: "object" required: ["src"] properties: { equals: { type: "string" } equals_any: { type: "array" description: "use `equals_any` to match any item in a list" items: { type: "string" } } expression: { type: "string" description: "\"[0:3]\":\"abcdef\" -> \"abc\"\n\"split(.)[1]\": \"a.b.c\" -> \"b\"\n\"split(-)[1][0:3]: \"a1234-b5678-c90\" -> \"b56\"" } src: { type: "string" enum: ["lldp_chassis_id", "lldp_system_name", "lldp_serial_number", "lldp_hardware_revision", "lldp_manufacturer_name", "lldp_oui", "radius_username", "radius_usermac", "radius_dynamicfilter", "link_peermac"] } usage: { type: "string" description: "`port_usage` name" } } } } } } } } radius_config: { type: "object" description: "Junos Radius config" properties: { acct_interim_interval: { type: "integer" description: "how frequently should interim accounting be reported, 60-65535. default is 0 (use one specified in Access-Accept request from RADIUS Server). Very frequent messages can affect the performance of the radius server, 600 and up is recommended when enabled" } acct_servers: { type: "array" items: { type: "object" required: ["host", "port", "secret"] properties: { host: { type: "string" description: "ip / hostname of RADIUS server" } keywrap_enabled: { type: "boolean" } keywrap_format: { type: "string" } keywrap_kek: { type: "string" } keywrap_mack: { type: "string" } port: { type: "integer" description: "Acct port of RADIUS server" } secret: { type: "string" description: "secret of RADIUS server" } } } } auth_servers: { type: "array" items: { type: "object" description: "Authentication Server" required: ["host", "port", "secret"] properties: { host: { type: "string" description: "ip / hostname of RADIUS server" } keywrap_enabled: { type: "boolean" } keywrap_format: { type: "string" } keywrap_kek: { type: "string" } keywrap_mack: { type: "string" } port: { type: "integer" description: "Auth port of RADIUS server" } secret: { type: "string" description: "secret of RADIUS server" } } } } auth_servers_retries: { type: "integer" description: "radius auth session retries" } auth_servers_timeout: { type: "integer" description: "radius auth session timeout" } coa_enabled: { type: "boolean" } coa_port: { type: "integer" } network: { type: "string" description: "use `network`or `source_ip`\nwhich network the RADIUS server resides, if there's static IP for this network, we'd use it as source-ip" } source_ip: { type: "string" description: "use `network`or `source_ip`" } } } remote_syslog: { type: "object" properties: { archive: { type: "object" properties: { files: { type: "integer" } size: { type: "string" } } } console: { type: "object" properties: { contents: { type: "array" items: { type: "object" properties: { facility: { type: "string" enum: ["any", "authorization", "conflict-log", "change-log", "daemon", "dfc", "kernel", "interactive-commands", "ftp", "firewall", "external", "pfe", "ntp", "security", "user"] } severity: { type: "string" enum: ["any", "alert", "emergency", "critical", "warning", "info", "notice", "error"] } } } } } } enabled: { type: "boolean" } files: { type: "array" items: { type: "object" properties: { archive: { type: "object" properties: { files: { type: "integer" } size: { type: "string" } } } contents: { type: "array" items: { type: "object" properties: { facility: { type: "string" enum: ["any", "authorization", "conflict-log", "change-log", "daemon", "dfc", "kernel", "interactive-commands", "ftp", "firewall", "external", "pfe", "ntp", "security", "user"] } severity: { type: "string" enum: ["any", "alert", "emergency", "critical", "warning", "info", "notice", "error"] } } } } explicit_priority: { type: "boolean" } file: { type: "string" } match: { type: "string" } structured_data: { type: "boolean" } } } } network: { type: "string" description: "if source_address is configured, will use the vlan firstly otherwise use source_ip" } send_to_all_servers: { type: "boolean" } servers: { type: "array" items: { type: "object" properties: { contents: { type: "array" items: { type: "object" properties: { facility: { type: "string" enum: ["any", "authorization", "conflict-log", "change-log", "daemon", "dfc", "kernel", "interactive-commands", "ftp", "firewall", "external", "pfe", "ntp", "security", "user"] } severity: { type: "string" enum: ["any", "alert", "emergency", "critical", "warning", "info", "notice", "error"] } } } } explicit_priority: { type: "boolean" } facility: { type: "string" enum: ["any", "authorization", "conflict-log", "change-log", "daemon", "dfc", "kernel", "interactive-commands", "ftp", "firewall", "external", "pfe", "ntp", "security", "user"] } host: { type: "string" } match: { type: "string" } port: { type: "integer" } protocol: { type: "string" enum: ["udp", "tcp"] } routing_instance: { type: "string" } severity: { type: "string" enum: ["any", "alert", "emergency", "critical", "warning", "info", "notice", "error"] } source_address: { type: "string" description: "if source_address is configured, will use the vlan firstly otherwise use source_ip" } structured_data: { type: "boolean" } tag: { type: "string" } } } } time_format: { type: "string" enum: ["millisecond", "year", "year millisecond"] } users: { type: "array" items: { type: "object" properties: { contents: { type: "array" items: { type: "object" properties: { facility: { type: "string" enum: ["any", "authorization", "conflict-log", "change-log", "daemon", "dfc", "kernel", "interactive-commands", "ftp", "firewall", "external", "pfe", "ntp", "security", "user"] } severity: { type: "string" enum: ["any", "alert", "emergency", "critical", "warning", "info", "notice", "error"] } } } } match: { type: "string" } user: { type: "string" } } } } } } snmp_config: { type: "object" properties: { client_list: { type: "array" items: { type: "object" properties: { client_list_name: { type: "string" } clients: { type: "array" items: { type: "string" } } } } } contact: { type: "string" } description: { type: "string" } enabled: { type: "boolean" } engine_id: { type: "string" enum: ["local", "engine-id-suffix", "use-default-ip-address", "use-mac-address"] } location: { type: "string" } name: { type: "string" } trap_groups: { type: "array" items: { type: "object" properties: { categories: { type: "array" items: { type: "string" } } group_name: { type: "string" description: "Categories list can refer to https://www.juniper.net/documentation/software/topics/task/configuration/snmp-trap-groups-configuring-junos-nm.html" } targets: { type: "array" items: { type: "string" } } version: { type: "string" enum: ["v1", "v2", "all"] } } } } v2c_config: { type: "array" items: { type: "object" properties: { authorization: { type: "string" } client_list_name: { type: "string" description: "client_list_name here should refer to client_list above" } community_name: { type: "string" } view: { type: "string" description: "view name here should be defined in views above" } } } } v3_config: { type: "object" properties: { notify: { type: "array" items: { type: "object" properties: { name: { type: "string" } tag: { type: "string" } type: { type: "string" enum: ["trap", "inform"] } } } } notify_filter: { type: "array" items: { type: "object" properties: { contents: { type: "array" items: { type: "object" properties: { include: { type: "boolean" } oid: { type: "string" } } } } profile_name: { type: "string" } } } } target_address: { type: "array" items: { type: "object" properties: { address: { type: "string" } address_mask: { type: "string" } port: { type: "integer" } tag_list: { type: "string" description: "