initial
This commit is contained in:
34
ts/interfaces/peeringdb.api.netfac.ts
Normal file
34
ts/interfaces/peeringdb.api.netfac.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
import type { IPeeringDbBaseObject } from '../peeringdb.types.js';
|
||||
|
||||
/**
|
||||
* Network Facility object from PeeringDB API
|
||||
* Represents a network's presence at a colocation facility
|
||||
*/
|
||||
export interface INetFac extends IPeeringDbBaseObject {
|
||||
/** NetFac ID */
|
||||
id: number;
|
||||
|
||||
/** Network ID */
|
||||
net_id: number;
|
||||
|
||||
/** Network object (when depth > 0) */
|
||||
net?: any;
|
||||
|
||||
/** Facility ID */
|
||||
fac_id: number;
|
||||
|
||||
/** Facility object (when depth > 0) */
|
||||
fac?: any;
|
||||
|
||||
/** Availability percentage */
|
||||
avail_sonet: boolean;
|
||||
|
||||
/** Availability percentage */
|
||||
avail_ethernet: boolean;
|
||||
|
||||
/** Availability percentage */
|
||||
avail_atm: boolean;
|
||||
|
||||
/** Local ASN */
|
||||
local_asn: number | null;
|
||||
}
|
||||
Reference in New Issue
Block a user