コード例 #1
0
class ConfigNetworkLan(Object):

    cidr: str = Property(String(), required=True)

    dhcp_enabled: bool = Property(Boolean(), required=True)

    dhcp_range_start: str = Property(String(), required=True)

    dhcp_range_stop: str = Property(String(), required=True)

    vlan: int = Property(Integer(), required=True)
コード例 #2
0
class AntennaTableItem(Object):

    default: bool = Property(Boolean(), required=True)

    id: int = Property(Integer(), required=True)

    name: str = Property(String(), required=True)

    ra0_gain: int = Property(Integer(), required=True)

    rai0_gain: int = Property(Integer(), required=True)
コード例 #3
0
ファイル: login.py プロジェクト: TrackMan/uniman
class RolesItem(Object):

    unique_id: str = Property(String(), required=True)

    name: str = Property(String(), required=True)

    system_role: bool = Property(Boolean(), required=True)

    system_key: str = Property(String(), required=True)

    level: int = Property(Integer(), required=True)
コード例 #4
0
class LldpTableItem(Object):

    chassis_id: str = Property(String(), required=True)

    is_wired: bool = Property(Boolean(), required=True)

    local_port_idx: int = Property(Integer(), required=True)

    local_port_name: str = Property(String(), required=True)

    port_id: str = Property(String(), required=True)
コード例 #5
0
ファイル: wlan_conf.py プロジェクト: TrackMan/uniman
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    enabled: Maybe[bool] = Property(Boolean())

    name: Maybe[str] = Property(String())

    security: Maybe[str] = Property(String())

    wpa_enc: Maybe[str] = Property(String())

    wpa_mode: Maybe[str] = Property(String())

    x_passphrase: Maybe[str] = Property(String())

    site_id: Maybe[str] = Property(String())

    usergroup_id: Maybe[str] = Property(String())

    x_iapp_key: Maybe[str] = Property(String())

    no2ghz_oui: Maybe[bool] = Property(Boolean())

    minrate_ng_enabled: Maybe[bool] = Property(Boolean())

    minrate_ng_beacon_rate_kbps: Maybe[int] = Property(Integer())

    minrate_ng_data_rate_kbps: Maybe[int] = Property(Integer())

    pmf_mode: Maybe[str] = Property(String())

    b_supported: Maybe[bool] = Property(Boolean())

    ap_group_ids: Maybe[List[str]] = Property(Array(String()))

    wlan_band: Maybe[str] = Property(String())

    networkconf_id: Maybe[str] = Property(String())

    iapp_enabled: Maybe[bool] = Property(Boolean())
コード例 #6
0
class MacTableItem(Object):

    age: int = Property(Integer(), required=True)

    authorized: bool = Property(Boolean(), required=True)

    hostname: str = Property(String(), required=True)

    ip: str = Property(String(), required=True)

    lastReachable: int = Property(Integer(), required=True)

    mac: str = Property(String(), required=True)
コード例 #7
0
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    ruleset: Maybe[str] = Property(String())

    rule_index: Maybe[int] = Property(Integer())

    name: Maybe[str] = Property(String())

    enabled: Maybe[bool] = Property(Boolean())

    action: Maybe[str] = Property(String())

    protocol_match_excepted: Maybe[bool] = Property(Boolean())

    logging: Maybe[bool] = Property(Boolean())

    state_new: Maybe[bool] = Property(Boolean())

    state_established: Maybe[bool] = Property(Boolean())

    state_invalid: Maybe[bool] = Property(Boolean())

    state_related: Maybe[bool] = Property(Boolean())

    ipsec: Maybe[str] = Property(String())

    src_firewallgroup_ids: Maybe[List[str]] = Property(Array(String()))

    src_mac_address: Maybe[str] = Property(String())

    dst_firewallgroup_ids: Maybe[List[str]] = Property(Array(String()))

    dst_address: Maybe[str] = Property(String())

    src_address: Maybe[str] = Property(String())

    protocol: Maybe[str] = Property(String())

    icmp_typename: Maybe[str] = Property(String())

    src_networkconf_id: Maybe[str] = Property(String())

    src_networkconf_type: Maybe[str] = Property(String())

    dst_networkconf_id: Maybe[str] = Property(String())

    dst_networkconf_type: Maybe[str] = Property(String())

    site_id: Maybe[str] = Property(String())
コード例 #8
0
class RadioTableItem(Object):

    radio: str = Property(String(), required=True)

    name: str = Property(String(), required=True)

    channel: str = Property(String(), required=True)

    ht: str = Property(String(), required=True)

    max_txpower: int = Property(Integer(), required=True)

    min_txpower: int = Property(Integer(), required=True)

    nss: int = Property(Integer(), required=True)

    min_rssi_enabled: bool = Property(Boolean(), required=True)

    sens_level_enabled: bool = Property(Boolean(), required=True)

    vwire_enabled: bool = Property(Boolean(), required=True)

    radio_caps: int = Property(Integer(), required=True)

    builtin_antenna: bool = Property(Boolean(), required=True)

    builtin_ant_gain: int = Property(Integer(), required=True)

    loadbalance_enabled: bool = Property(Boolean(), required=True)

    current_antenna_gain: int = Property(Integer(), required=True)

    radio_caps2: int = Property(Integer(), required=True)

    is_11ac: Maybe[bool] = Property(Boolean())

    has_dfs: Maybe[bool] = Property(Boolean())

    has_fccdfs: Maybe[bool] = Property(Boolean())

    has_ht160: Maybe[bool] = Property(Boolean())
コード例 #9
0
ファイル: user_group.py プロジェクト: TrackMan/uniman
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    site_id: Maybe[str] = Property(String())

    name: Maybe[str] = Property(String())

    attr_hidden_id: Maybe[str] = Property(String())

    attr_no_delete: Maybe[bool] = Property(Boolean())

    qos_rate_max_up: Maybe[int] = Property(Integer())

    qos_rate_max_down: Maybe[int] = Property(Integer())
コード例 #10
0
class Uplink(Object):

    drops: int = Property(Integer(), required=True)

    ip: str = Property(String(), required=True)

    latency: int = Property(Integer(), required=True)

    name: str = Property(String(), required=True)

    nameservers: List[str] = Property(Array(String()), required=True)

    netmask: str = Property(String(), required=True)

    num_port: int = Property(Integer(), required=True)

    rx_bytes: int = Property(Integer(), required=True)

    rx_dropped: int = Property(Integer(), required=True)

    rx_errors: int = Property(Integer(), required=True)

    rx_multicast: int = Property(Integer(), required=True)

    rx_packets: int = Property(Integer(), required=True)

    speedtest_lastrun: int = Property(Integer(), required=True)

    speedtest_ping: int = Property(Integer(), required=True)

    speedtest_status: str = Property(String(), required=True)

    tx_bytes: int = Property(Integer(), required=True)

    tx_dropped: int = Property(Integer(), required=True)

    tx_errors: int = Property(Integer(), required=True)

    tx_packets: int = Property(Integer(), required=True)

    up: bool = Property(Boolean(), required=True)

    uptime: int = Property(Integer(), required=True)

    xput_down: float = Property(Number(), required=True)

    xput_up: float = Property(Number(), required=True)

    port_idx: int = Property(Integer(), required=True)

    media: str = Property(String(), required=True)

    rx_rate: int = Property(Integer(), required=True)

    tx_rate: int = Property(Integer(), required=True)

    max_speed: int = Property(Integer(), required=True)

    type: str = Property(String(), required=True)

    speed: int = Property(Integer(), required=True)

    full_duplex: bool = Property(Boolean(), required=True)

    tx_bytes_r: int = Property(Integer(), required=True, source='tx_bytes-r')

    rx_bytes_r: int = Property(Integer(), required=True, source='rx_bytes-r')
コード例 #11
0
ファイル: login.py プロジェクト: TrackMan/uniman
class Login(Object):

    unique_id: Maybe[str] = Property(String())

    first_name: Maybe[str] = Property(String())

    last_name: Maybe[str] = Property(String())

    full_name: Maybe[str] = Property(String())

    email: Maybe[str] = Property(String())

    email_status: Maybe[str] = Property(String())

    phone: Maybe[str] = Property(String())

    avatar_relative_path: Maybe[str] = Property(String())

    avatar_rpath2: Maybe[str] = Property(String())

    status: Maybe[str] = Property(String())

    employee_number: Maybe[str] = Property(String())

    create_time: Maybe[int] = Property(Integer())

    extras: Maybe[Extras] = Property(Extras)

    username: Maybe[str] = Property(String())

    local_account_exist: Maybe[bool] = Property(Boolean())

    password_revision: Maybe[int] = Property(Integer())

    sso_account: Maybe[str] = Property(String())

    sso_uuid: Maybe[str] = Property(String())

    sso_username: Maybe[str] = Property(String())

    sso_picture: Maybe[str] = Property(String())

    uid_sso_id: Maybe[str] = Property(String())

    uid_sso_account: Maybe[str] = Property(String())

    groups: Maybe[List[GroupsItem]] = Property(Array(GroupsItem))

    roles: Maybe[List[RolesItem]] = Property(Array(RolesItem))

    permissions: Maybe[Permissions] = Property(Permissions)

    scopes: Maybe[List[str]] = Property(Array(String()))

    cloud_access_granted: Maybe[bool] = Property(Boolean())

    update_time: Maybe[int] = Property(Integer())

    avatar: Maybe[str] = Property(String())

    nfc_token: Maybe[str] = Property(String())

    nfc_display_id: Maybe[str] = Property(String())

    nfc_card_type: Maybe[str] = Property(String())

    nfc_card_status: Maybe[str] = Property(String())

    id: Maybe[str] = Property(String())

    isOwner: Maybe[bool] = Property(Boolean())

    isSuperAdmin: Maybe[bool] = Property(Boolean())

    data: Maybe[Any] = Property(Element(items=Element(required=[])))
コード例 #12
0
class PortTableItem(Object):

    port_idx: int = Property(Integer(), required=True)

    media: str = Property(String(), required=True)

    port_poe: bool = Property(Boolean(), required=True)

    speed_caps: int = Property(Integer(), required=True)

    op_mode: str = Property(String(), required=True)

    portconf_id: str = Property(String(), required=True)

    autoneg: bool = Property(Boolean(), required=True)

    enable: bool = Property(Boolean(), required=True)

    flowctrl_rx: bool = Property(Boolean(), required=True)

    flowctrl_tx: bool = Property(Boolean(), required=True)

    full_duplex: bool = Property(Boolean(), required=True)

    is_uplink: bool = Property(Boolean(), required=True)

    mac: str = Property(String(), required=True)

    name: str = Property(String(), required=True)

    num_port: int = Property(Integer(), required=True)

    rx_broadcast: int = Property(Integer(), required=True)

    rx_bytes: int = Property(Integer(), required=True)

    rx_dropped: int = Property(Integer(), required=True)

    rx_errors: int = Property(Integer(), required=True)

    rx_multicast: int = Property(Integer(), required=True)

    rx_packets: int = Property(Integer(), required=True)

    rx_rate: int = Property(Integer(), required=True)

    rx_rate_max: int = Property(Integer(), required=True, source='rx_rate-max')

    speed: int = Property(Integer(), required=True)

    tx_broadcast: int = Property(Integer(), required=True)

    tx_bytes: int = Property(Integer(), required=True)

    tx_dropped: int = Property(Integer(), required=True)

    tx_errors: int = Property(Integer(), required=True)

    tx_multicast: int = Property(Integer(), required=True)

    tx_packets: int = Property(Integer(), required=True)

    tx_rate: int = Property(Integer(), required=True)

    tx_rate_max: int = Property(Integer(), required=True, source='tx_rate-max')

    type: str = Property(String(), required=True)

    up: bool = Property(Boolean(), required=True)

    ifname: str = Property(String(), required=True)

    ip: str = Property(String(), required=True)

    netmask: Maybe[str] = Property(String())

    tx_bytes_r: int = Property(Integer(), required=True, source='tx_bytes-r')

    rx_bytes_r: int = Property(Integer(), required=True, source='rx_bytes-r')

    bytes_r: int = Property(Integer(), required=True, source='bytes-r')

    port_delta: Maybe[PortDelta] = Property(PortDelta)

    network_name: str = Property(String(), required=True)

    masked: bool = Property(Boolean(), required=True)

    aggregated_by: bool = Property(Boolean(), required=True)

    mac_table: Maybe[List[MacTableItem]] = Property(Array(MacTableItem))

    dns: Maybe[List[str]] = Property(Array(String()))
コード例 #13
0
ファイル: network_conf.py プロジェクト: TrackMan/uniman
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    attr_no_delete: Maybe[bool] = Property(Boolean())

    attr_hidden_id: Maybe[str] = Property(String())

    wan_networkgroup: Maybe[str] = Property(String())

    site_id: Maybe[str] = Property(String())

    purpose: Maybe[str] = Property(String())

    name: Maybe[str] = Property(String())

    wan_type: Maybe[str] = Property(String())

    wan_provider_capabilities: Maybe[WanProviderCapabilities] = Property(
        WanProviderCapabilities)

    report_wan_event: Maybe[bool] = Property(Boolean())

    wan_ip_aliases: Maybe[List[Any]] = Property(Array(Element()))

    wan_type_v6: Maybe[str] = Property(String())

    wan_load_balance_type: Maybe[str] = Property(String())

    wan_load_balance_weight: Maybe[int] = Property(Integer())

    wan_egress_qos: Maybe[str] = Property(String())

    wan_dhcp_options: Maybe[List[Any]] = Property(Array(Element()))

    wan_dns1: Maybe[str] = Property(String())

    vlan_enabled: Maybe[bool] = Property(Boolean())

    ip_subnet: Maybe[str] = Property(String())

    ipv6_interface_type: Maybe[str] = Property(String())

    domain_name: Maybe[str] = Property(String())

    is_nat: Maybe[bool] = Property(Boolean())

    dhcpd_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_start: Maybe[str] = Property(String())

    dhcpd_stop: Maybe[str] = Property(String())

    dhcpdv6_enabled: Maybe[bool] = Property(Boolean())

    ipv6_ra_enabled: Maybe[bool] = Property(Boolean())

    lte_lan_enabled: Maybe[bool] = Property(Boolean())

    networkgroup: Maybe[str] = Property(String())

    dhcpd_leasetime: Maybe[int] = Property(Integer())

    dhcpd_dns_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_gateway_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_time_offset_enabled: Maybe[bool] = Property(Boolean())

    ipv6_pd_start: Maybe[str] = Property(String())

    ipv6_pd_stop: Maybe[str] = Property(String())

    gateway_type: Maybe[str] = Property(String())

    enabled: Maybe[bool] = Property(Boolean())

    dhcp_relay_enabled: Maybe[bool] = Property(Boolean())

    nat_outbound_ip_addresses: Maybe[List[Any]] = Property(Array(Element()))

    dpi_enabled: Maybe[bool] = Property(Boolean())

    dpigroup_id: Maybe[str] = Property(String())

    dhcpd_dns_1: Maybe[str] = Property(String())

    dhcpd_dns_2: Maybe[str] = Property(String())

    ipsec_interface: Maybe[str] = Property(String())

    vpn_type: Maybe[str] = Property(String())

    route_distance: Maybe[int] = Property(Integer())

    ipsec_profile: Maybe[str] = Property(String())

    remote_vpn_subnets: Maybe[List[str]] = Property(Array(String()))

    ipsec_key_exchange: Maybe[str] = Property(String())

    ipsec_encryption: Maybe[str] = Property(String())

    ipsec_hash: Maybe[str] = Property(String())

    ipsec_dh_group: Maybe[int] = Property(Integer())

    ipsec_ike_dh_group: Maybe[int] = Property(Integer())

    ipsec_esp_dh_group: Maybe[int] = Property(Integer())

    ipsec_pfs: Maybe[bool] = Property(Boolean())

    ipsec_dynamic_routing: Maybe[bool] = Property(Boolean())

    x_ipsec_pre_shared_key: Maybe[str] = Property(String())

    ipsec_local_ip: Maybe[str] = Property(String())

    ipsec_peer_ip: Maybe[str] = Property(String())

    ifname: Maybe[str] = Property(String())
コード例 #14
0
class NetworkTableItem(Object):

    _id: str = Property(String(), required=True)

    attr_no_delete: Maybe[bool] = Property(Boolean())

    attr_hidden_id: Maybe[str] = Property(String())

    name: str = Property(String(), required=True)

    site_id: str = Property(String(), required=True)

    vlan_enabled: Maybe[bool] = Property(Boolean())

    purpose: str = Property(String(), required=True)

    ip_subnet: Maybe[str] = Property(String())

    ipv6_interface_type: Maybe[str] = Property(String())

    domain_name: Maybe[str] = Property(String())

    is_nat: bool = Property(Boolean(), required=True)

    dhcpd_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_start: Maybe[str] = Property(String())

    dhcpd_stop: Maybe[str] = Property(String())

    dhcpdv6_enabled: Maybe[bool] = Property(Boolean())

    ipv6_ra_enabled: Maybe[bool] = Property(Boolean())

    lte_lan_enabled: Maybe[bool] = Property(Boolean())

    networkgroup: Maybe[str] = Property(String())

    dhcpd_leasetime: Maybe[int] = Property(Integer())

    dhcpd_dns_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_gateway_enabled: Maybe[bool] = Property(Boolean())

    dhcpd_time_offset_enabled: Maybe[bool] = Property(Boolean())

    ipv6_pd_start: Maybe[str] = Property(String())

    ipv6_pd_stop: Maybe[str] = Property(String())

    gateway_type: Maybe[str] = Property(String())

    enabled: bool = Property(Boolean(), required=True)

    dhcp_relay_enabled: Maybe[bool] = Property(Boolean())

    nat_outbound_ip_addresses: Maybe[List[Any]] = Property(Array(Element()))

    dpi_enabled: Maybe[bool] = Property(Boolean())

    dpigroup_id: Maybe[str] = Property(String())

    dhcpd_dns_1: Maybe[str] = Property(String())

    dhcpd_dns_2: Maybe[str] = Property(String())

    is_guest: bool = Property(Boolean(), required=True)

    ip: Union[None, str] = Property(AnyOf(Null(), String()), required=True)

    mac: Maybe[str] = Property(String())

    up: Union[bool, str] = Property(AnyOf(Boolean(), String()), required=True)

    active_dhcp_lease_count: Maybe[int] = Property(Integer())

    gateway_interface_name: Maybe[str] = Property(String())

    dpistats_table: Maybe[DpistatsTable] = Property(DpistatsTable)

    num_sta: Maybe[int] = Property(Integer())

    rx_bytes: Maybe[int] = Property(Integer())

    rx_packets: Maybe[int] = Property(Integer())

    tx_bytes: Maybe[int] = Property(Integer())

    tx_packets: Maybe[int] = Property(Integer())

    ipsec_interface: Maybe[str] = Property(String())

    vpn_type: Maybe[str] = Property(String())

    route_distance: Maybe[int] = Property(Integer())

    ipsec_profile: Maybe[str] = Property(String())

    remote_vpn_subnets: Maybe[List[str]] = Property(Array(String()))

    ipsec_key_exchange: Maybe[str] = Property(String())

    ipsec_encryption: Maybe[str] = Property(String())

    ipsec_hash: Maybe[str] = Property(String())

    ipsec_dh_group: Maybe[int] = Property(Integer())

    ipsec_ike_dh_group: Maybe[int] = Property(Integer())

    ipsec_esp_dh_group: Maybe[int] = Property(Integer())

    ipsec_pfs: Maybe[bool] = Property(Boolean())

    ipsec_dynamic_routing: Maybe[bool] = Property(Boolean())

    x_ipsec_pre_shared_key: Maybe[str] = Property(String())

    ipsec_local_ip: Maybe[str] = Property(String())

    ipsec_peer_ip: Maybe[str] = Property(String())

    ifname: Maybe[str] = Property(String())
コード例 #15
0
class VapTableItem(Object):

    anomalies_bar_chart: AnomaliesBarChart = Property(AnomaliesBarChart, required=True)

    anomalies_bar_chart_now: AnomaliesBarChartNow = Property(AnomaliesBarChartNow, required=True)

    avg_client_signal: int = Property(Integer(), required=True)

    bssid: str = Property(String(), required=True)

    bw: int = Property(Integer(), required=True)

    ccq: int = Property(Integer(), required=True)

    channel: int = Property(Integer(), required=True)

    dns_avg_latency: int = Property(Integer(), required=True)

    essid: str = Property(String(), required=True)

    extchannel: Maybe[int] = Property(Integer())

    icmp_avg_rtt: int = Property(Integer(), required=True)

    id: str = Property(String(), required=True)

    mac_filter_rejections: int = Property(Integer(), required=True)

    name: str = Property(String(), required=True)

    num_satisfaction_sta: int = Property(Integer(), required=True)

    num_sta: int = Property(Integer(), required=True)

    radio: str = Property(String(), required=True)

    radio_name: str = Property(String(), required=True)

    reasons_bar_chart: ReasonsBarChart = Property(ReasonsBarChart, required=True)

    reasons_bar_chart_now: ReasonsBarChartNow = Property(ReasonsBarChartNow, required=True)

    rx_bytes: int = Property(Integer(), required=True)

    rx_crypts: int = Property(Integer(), required=True)

    rx_dropped: int = Property(Integer(), required=True)

    rx_errors: int = Property(Integer(), required=True)

    rx_frags: int = Property(Integer(), required=True)

    rx_nwids: int = Property(Integer(), required=True)

    rx_packets: int = Property(Integer(), required=True)

    rx_tcp_stats: RxTcpStats = Property(RxTcpStats, required=True)

    satisfaction: int = Property(Integer(), required=True)

    satisfaction_now: int = Property(Integer(), required=True)

    satisfaction_real: int = Property(Integer(), required=True)

    state: str = Property(String(), required=True)

    tx_bytes: int = Property(Integer(), required=True)

    tx_combined_retries: int = Property(Integer(), required=True)

    tx_data_mpdu_bytes: int = Property(Integer(), required=True)

    tx_dropped: int = Property(Integer(), required=True)

    tx_errors: int = Property(Integer(), required=True)

    tx_packets: int = Property(Integer(), required=True)

    tx_power: int = Property(Integer(), required=True)

    tx_retries: int = Property(Integer(), required=True)

    tx_rts_retries: int = Property(Integer(), required=True)

    tx_success: int = Property(Integer(), required=True)

    tx_tcp_stats: TxTcpStats = Property(TxTcpStats, required=True)

    tx_total: int = Property(Integer(), required=True)

    up: bool = Property(Boolean(), required=True)

    usage: str = Property(String(), required=True)

    wifi_tx_attempts: int = Property(Integer(), required=True)

    wifi_tx_dropped: int = Property(Integer(), required=True)

    t: str = Property(String(), required=True)

    wlanconf_id: str = Property(String(), required=True)

    is_guest: bool = Property(Boolean(), required=True)

    is_wep: bool = Property(Boolean(), required=True)

    ap_mac: str = Property(String(), required=True)

    map_id: None = Property(Null(), required=True)

    site_id: str = Property(String(), required=True)
コード例 #16
0
ファイル: sys_info.py プロジェクト: TrackMan/uniman
class DataItem(Object):

    timezone: Maybe[str] = Property(String())

    autobackup: Maybe[bool] = Property(Boolean())

    build: Maybe[str] = Property(String())

    version: Maybe[str] = Property(String())

    previous_version: Maybe[str] = Property(String())

    debug_mgmt: Maybe[str] = Property(String())

    debug_system: Maybe[str] = Property(String())

    debug_device: Maybe[str] = Property(String())

    debug_sdn: Maybe[str] = Property(String())

    data_retention_days: Maybe[int] = Property(Integer())

    data_retention_time_in_hours_for_5minutes_scale: Maybe[int] = Property(
        Integer())

    data_retention_time_in_hours_for_hourly_scale: Maybe[int] = Property(
        Integer())

    data_retention_time_in_hours_for_daily_scale: Maybe[int] = Property(
        Integer())

    data_retention_time_in_hours_for_monthly_scale: Maybe[int] = Property(
        Integer())

    data_retention_time_in_hours_for_others: Maybe[int] = Property(Integer())

    update_available: Maybe[bool] = Property(Boolean())

    update_downloaded: Maybe[bool] = Property(Boolean())

    live_chat: Maybe[str] = Property(String())

    store_enabled: Maybe[str] = Property(String())

    hostname: Maybe[str] = Property(String())

    name: Maybe[str] = Property(String())

    ip_addrs: Maybe[List[str]] = Property(Array(String()))

    inform_port: Maybe[int] = Property(Integer())

    https_port: Maybe[int] = Property(Integer())

    override_inform_host: Maybe[bool] = Property(Boolean())

    image_maps_use_google_engine: Maybe[bool] = Property(Boolean())

    radius_disconnect_running: Maybe[bool] = Property(Boolean())

    facebook_wifi_registered: Maybe[bool] = Property(Boolean())

    sso_app_id: Maybe[str] = Property(String())

    sso_app_sec: Maybe[str] = Property(String())

    uptime: Maybe[int] = Property(Integer())

    anonymous_controller_id: Maybe[str] = Property(String())

    ubnt_device_type: Maybe[str] = Property(String())

    udm_version: Maybe[str] = Property(String())

    unsupported_device_count: Maybe[int] = Property(Integer())

    unsupported_device_list: Maybe[List[Any]] = Property(Array(Element()))

    unifi_go_enabled: Maybe[bool] = Property(Boolean())

    default_site_device_auth_password_alert: Maybe[bool] = Property(Boolean())
コード例 #17
0
class Wan1(Object):

    max_speed: int = Property(Integer(), required=True)

    type: str = Property(String(), required=True)

    autoneg: bool = Property(Boolean(), required=True)

    enable: bool = Property(Boolean(), required=True)

    flowctrl_rx: bool = Property(Boolean(), required=True)

    flowctrl_tx: bool = Property(Boolean(), required=True)

    full_duplex: bool = Property(Boolean(), required=True)

    is_uplink: bool = Property(Boolean(), required=True)

    mac: str = Property(String(), required=True)

    mac_table: List[MacTableItem] = Property(Array(MacTableItem), required=True)

    media: str = Property(String(), required=True)

    name: str = Property(String(), required=True)

    num_port: int = Property(Integer(), required=True)

    port_idx: int = Property(Integer(), required=True)

    port_poe: bool = Property(Boolean(), required=True)

    rx_broadcast: int = Property(Integer(), required=True)

    rx_bytes: int = Property(Integer(), required=True)

    rx_dropped: int = Property(Integer(), required=True)

    rx_errors: int = Property(Integer(), required=True)

    rx_multicast: int = Property(Integer(), required=True)

    rx_packets: int = Property(Integer(), required=True)

    rx_rate: int = Property(Integer(), required=True)

    rx_rate_max: int = Property(Integer(), required=True, source='rx_rate-max')

    speed: int = Property(Integer(), required=True)

    speed_caps: int = Property(Integer(), required=True)

    tx_broadcast: int = Property(Integer(), required=True)

    tx_bytes: int = Property(Integer(), required=True)

    tx_dropped: int = Property(Integer(), required=True)

    tx_errors: int = Property(Integer(), required=True)

    tx_multicast: int = Property(Integer(), required=True)

    tx_packets: int = Property(Integer(), required=True)

    tx_rate: int = Property(Integer(), required=True)

    tx_rate_max: int = Property(Integer(), required=True, source='tx_rate-max')

    up: bool = Property(Boolean(), required=True)

    ifname: str = Property(String(), required=True)

    ip: str = Property(String(), required=True)

    netmask: str = Property(String(), required=True)

    tx_bytes_r: int = Property(Integer(), required=True, source='tx_bytes-r')

    rx_bytes_r: int = Property(Integer(), required=True, source='rx_bytes-r')

    bytes_r: int = Property(Integer(), required=True, source='bytes-r')

    dns: List[str] = Property(Array(String()), required=True)
コード例 #18
0
class DataItem(Object):

    _id: Maybe[str] = Property(String())

    ip: Maybe[str] = Property(String())

    mac: Maybe[str] = Property(String())

    model: Maybe[str] = Property(String())

    model_in_lts: Maybe[bool] = Property(Boolean())

    model_in_eol: Maybe[bool] = Property(Boolean())

    type: Maybe[str] = Property(String())

    version: Maybe[str] = Property(String())

    adopted: Maybe[bool] = Property(Boolean())

    site_id: Maybe[str] = Property(String())

    x_authkey: Maybe[str] = Property(String())

    cfgversion: Maybe[str] = Property(String())

    syslog_key: Maybe[str] = Property(String())

    config_network: Maybe[ConfigNetwork] = Property(ConfigNetwork)

    x_vwirekey: Maybe[str] = Property(String())

    vwire_table: Maybe[List[Any]] = Property(Array(Element()))

    dot1x_portctrl_enabled: Maybe[bool] = Property(Boolean())

    jumboframe_enabled: Maybe[bool] = Property(Boolean())

    flowctrl_enabled: Maybe[bool] = Property(Boolean())

    stp_version: Maybe[str] = Property(String())

    stp_priority: Maybe[str] = Property(String())

    power_source_ctrl_enabled: Maybe[bool] = Property(Boolean())

    license_state: Maybe[str] = Property(String())

    x_fingerprint: Maybe[str] = Property(String())

    inform_url: Maybe[str] = Property(String())

    inform_ip: Maybe[str] = Property(String())

    x_aes_gcm: Maybe[bool] = Property(Boolean())

    config_network_lan: Maybe[ConfigNetworkLan] = Property(ConfigNetworkLan)

    required_version: Maybe[str] = Property(String())

    kernel_version: Maybe[str] = Property(String())

    architecture: Maybe[str] = Property(String())

    board_rev: Maybe[int] = Property(Integer())

    manufacturer_id: Maybe[int] = Property(Integer())

    model_incompatible: Maybe[bool] = Property(Boolean())

    internet: Maybe[bool] = Property(Boolean())

    antenna_table: Maybe[List[AntennaTableItem]] = Property(Array(AntennaTableItem))

    radio_table: Maybe[List[RadioTableItem]] = Property(Array(RadioTableItem))

    scan_radio_table: Maybe[List[Any]] = Property(Array(Element()))

    ethernet_table: Maybe[List[EthernetTableItem]] = Property(Array(EthernetTableItem))

    port_table: Maybe[List[PortTableItem]] = Property(Array(PortTableItem))

    ethernet_overrides: Maybe[List[EthernetOverridesItem]] = Property(Array(EthernetOverridesItem))

    usg_caps: Maybe[int] = Property(Integer())

    has_speaker: Maybe[bool] = Property(Boolean())

    has_eth1: Maybe[bool] = Property(Boolean())

    fw_caps: Maybe[int] = Property(Integer())

    hw_caps: Maybe[int] = Property(Integer())

    wifi_caps: Maybe[int] = Property(Integer())

    switch_caps: Maybe[SwitchCaps] = Property(SwitchCaps)

    has_fan: Maybe[bool] = Property(Boolean())

    has_temperature: Maybe[bool] = Property(Boolean())

    temperatures: Maybe[List[TemperaturesItem]] = Property(Array(TemperaturesItem))

    storage: Maybe[List[StorageItem]] = Property(Array(StorageItem))

    ruleset_interfaces: Maybe[RulesetInterfaces] = Property(RulesetInterfaces)

    country_code: Maybe[int] = Property(Integer())

    countrycode_table: Maybe[List[Any]] = Property(Array(Element()))

    connected_at: Maybe[int] = Property(Integer())

    provisioned_at: Maybe[int] = Property(Integer())

    setup_provision_completed: Maybe[bool] = Property(Boolean())

    setup_provision_tracking: Maybe[bool] = Property(Boolean())

    unifi_care: Maybe[UnifiCare] = Property(UnifiCare)

    unsupported: Maybe[bool] = Property(Boolean())

    unsupported_reason: Maybe[int] = Property(Integer())

    wlangroup_id_na: Maybe[str] = Property(String())

    wlangroup_id_ng: Maybe[str] = Property(String())

    bandsteering_mode: Maybe[str] = Property(String())

    atf_enabled: Maybe[bool] = Property(Boolean())

    two_phase_adopt: Maybe[bool] = Property(Boolean())

    serial: Maybe[str] = Property(String())

    hash_id: Maybe[str] = Property(String())

    anon_id: Maybe[str] = Property(String())

    device_id: Maybe[str] = Property(String())

    state: Maybe[int] = Property(Integer())

    start_disconnected_millis: Maybe[int] = Property(Integer())

    x_inform_authkey: Maybe[str] = Property(String())

    last_seen: Maybe[int] = Property(Integer())

    upgradable: Maybe[bool] = Property(Boolean())

    adoptable_when_upgraded: Maybe[bool] = Property(Boolean())

    rollupgrade: Maybe[bool] = Property(Boolean())

    known_cfgversion: Maybe[str] = Property(String())

    uptime: Maybe[int] = Property(Integer())

    _uptime: Maybe[int] = Property(Integer())

    locating: Maybe[bool] = Property(Boolean())

    start_connected_millis: Maybe[int] = Property(Integer())

    sys_stats: Maybe[SysStats] = Property(SysStats)

    system_stats: Maybe[SystemStats] = Property(SystemStats, source='system-stats')

    lldp_table: Maybe[List[LldpTableItem]] = Property(Array(LldpTableItem))

    guest_kicks: Maybe[int] = Property(Integer())

    guest_token: Maybe[str] = Property(String())

    scanning: Maybe[bool] = Property(Boolean())

    spectrum_scanning: Maybe[bool] = Property(Boolean())

    meshv3_peer_mac: Maybe[str] = Property(String())

    element_peer_mac: Maybe[str] = Property(String())

    satisfaction: Maybe[int] = Property(Integer())

    uptime_stats: Maybe[UptimeStats] = Property(UptimeStats)

    overheating: Maybe[bool] = Property(Boolean())

    geo_info: Maybe[GeoInfo] = Property(GeoInfo)

    led_state: Maybe[LedState] = Property(LedState)

    isolated: Maybe[bool] = Property(Boolean())

    radio_table_stats: Maybe[List[RadioTableStatsItem]] = Property(Array(RadioTableStatsItem))

    speedtest_status: Maybe[SpeedtestStatus] = Property(SpeedtestStatus, source='speedtest-status')

    speedtest_status_saved: Maybe[bool] = Property(Boolean(), source='speedtest-status-saved')

    wan1: Maybe[Wan1] = Property(Wan1)

    uplink: Maybe[Uplink] = Property(Uplink)

    vap_table: Maybe[List[VapTableItem]] = Property(Array(VapTableItem))

    ap_downlink_table: Maybe[List[Any]] = Property(Array(Element()))

    vwire_vap_table: Maybe[List[VwireVapTableItem]] = Property(Array(VwireVapTableItem))

    bytes_d: Maybe[int] = Property(Integer(), source='bytes-d')

    tx_bytes_d: Maybe[int] = Property(Integer(), source='tx_bytes-d')

    rx_bytes_d: Maybe[int] = Property(Integer(), source='rx_bytes-d')

    bytes_r: Maybe[int] = Property(Integer(), source='bytes-r')

    downlink_table: Maybe[List[Any]] = Property(Array(Element()))

    network_table: Maybe[List[NetworkTableItem]] = Property(Array(NetworkTableItem))

    connect_request_ip: Maybe[str] = Property(String())

    connect_request_port: Maybe[str] = Property(String())

    prev_non_busy_state: Maybe[int] = Property(Integer())

    next_interval: Maybe[int] = Property(Integer())

    next_heartbeat_at: Maybe[int] = Property(Integer())

    considered_lost_at: Maybe[int] = Property(Integer())

    stat: Maybe[Stat] = Property(Stat)

    tx_bytes: Maybe[int] = Property(Integer())

    rx_bytes: Maybe[int] = Property(Integer())

    bytes: Maybe[int] = Property(Integer())

    vwireEnabled: Maybe[bool] = Property(Boolean())

    uplink_table: Maybe[List[Any]] = Property(Array(Element()))

    num_sta: Maybe[int] = Property(Integer())

    wlan_num_sta: Maybe[int] = Property(Integer(), source='wlan-num_sta')

    lan_num_sta: Maybe[int] = Property(Integer(), source='lan-num_sta')

    user_wlan_num_sta: Maybe[int] = Property(Integer(), source='user-wlan-num_sta')

    user_lan_num_sta: Maybe[int] = Property(Integer(), source='user-lan-num_sta')

    user_num_sta: Maybe[int] = Property(Integer(), source='user-num_sta')

    guest_wlan_num_sta: Maybe[int] = Property(Integer(), source='guest-wlan-num_sta')

    guest_lan_num_sta: Maybe[int] = Property(Integer(), source='guest-lan-num_sta')

    guest_num_sta: Maybe[int] = Property(Integer(), source='guest-num_sta')

    num_desktop: Maybe[int] = Property(Integer())

    num_mobile: Maybe[int] = Property(Integer())

    num_handheld: Maybe[int] = Property(Integer())

    x_has_ssh_hostkey: Maybe[bool] = Property(Boolean())