Converter.source.interfaces namespace

Converter.source.interfaces.IToNetBox module

Converter.source.interfaces.IToOGrEE module

class Converter.source.interfaces.IToOGrEE.IToOGrEE(**kw)

Bases: ABC

abstract BuildBuilding(data: dict[str, Any]) dict[str, Any]

Build a building from another base’s data

Parameters:

buildingData (dict[str, Any]) – a JSON used to build the site

Returns:

a dict describing an OGrEE building

Return type:

dict[str, Any]

abstract BuildDevice(data: dict[str, Any]) dict[str, Any]

Build a device from another base’s data

Parameters:

deviceData (dict[str, Any]) – a JSON used to build the device

Returns:

a dict describing an OGrEE device

Return type:

dict[str, Any]

abstract BuildDomain(data: dict[str, Any]) dict[str, Any]

Build a domain from another base’s data

Parameters:

data (dict[str, Any]) – a JSON used to build the domain

Returns:

a dict describing an OGrEE domain

Return type:

dict[str, Any]

abstract BuildRack(data: dict[str, Any]) dict[str, Any]

Build a rack from another base’s data

Parameters:

rackData (dict[str, Any]) – a JSON used to build the rack

Returns:

a dict describing an OGrEE rack

Return type:

dict[str, Any]

abstract BuildRoom(data: dict[str, Any]) dict[str, Any]

Build a room from another base’s data

Parameters:

roomData (dict[str, Any]) – a JSON used to build the site

Returns:

a dict describing an OGrEE room

Return type:

dict[str, Any]

abstract BuildSite(data: dict[str, Any]) dict[str, Any]

Build a site from another base’s data

Parameters:

siteData (dict[str, Any]) – a JSON used to build the site

Returns:

a dict describing an OGrEE site

Return type:

dict[str, Any]

abstract BuildTemplate(data: dict[str, Any]) list[dict[str, Any]]

Build a template from another base’s data

Parameters:

templateData (dict[str, Any]) – a JSON used to build the template

Returns:

a dict describing an OGrEE template

Return type:

dict[str, Any]

Converter.source.interfaces.ITodcTrack module