Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeDAO

Hierarchy

Index

Constructors

constructor

Properties

Protected http

http: IOnmsHTTP

the HTTP implementation to use

Methods

fetch

  • given a node, fetch all the sub-model objects for that node (ipInterfaces, snmpInterfaces, etc.)

    Parameters

    Returns Promise<OnmsNode>

find

get

  • get(id: number, recurse?: boolean): Promise<OnmsNode>
  • get an node, given the node's ID

    Parameters

    • id: number

      the node's ID

    • Default value recurse: boolean = false

      optionally fetch all sub-model objects (ipInterface, etc.)

    Returns Promise<OnmsNode>

Protected getApiVersion

  • getApiVersion(): 1 | 2

Protected getCount

  • getCount(data: any): number

Protected getFilterProcessor

  • getFilterProcessor(): any

Protected getOptions

ipInterfaces

services

snmpInterfaces

Protected toDate

  • toDate(from: any): any

Protected toNumber

  • toNumber(from: any): number

Generated using TypeDoc