\RoutersGraphData

Class RoutersGraphData is class to create Topology Map

Summary

Methods
Properties
Constants
getRoutersList()
getRouterCoords()
getEdgesList()
getHwInventoryAll()
getHwInventory()
getSwInventory()
setIdRouter()
getGraphSize()
$_id_router
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$_id_router

$_id_router : 

Type

Methods

getRoutersList()

getRoutersList() : array

get routers List

Returns

array

getRouterCoords()

getRouterCoords() : \type

get coords of router from DB

Returns

\type

getEdgesList()

getEdgesList() : mixed

Get edges list

Returns

mixed

getHwInventoryAll()

getHwInventoryAll() : mixed

Get all rows contain data about hardware inventory

Returns

mixed

getHwInventory()

getHwInventory() : mixed

Get hw inventory for defined router

Returns

mixed

getSwInventory()

getSwInventory() : mixed

Get sw inventory for defined router

Returns

mixed

setIdRouter()

setIdRouter(  $id_router) 

set current router id

Parameters

$id_router

getGraphSize()

getGraphSize() : array

calculate graph size

Returns

array