Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Seitenverzeichnis: 

Inhalt
maxLevel2
indent10px
stylesquare

Rack-Object

...

ParameterTypBeispiel
idstring"48"

...

titlestring"

...

42 HE 19" Serverschrank mit Glastür"

...

sysidstring"

...

SYSID_1491830901"

...

objecttypestring"

...

4"

...

type_title

...

string"Schrank"

...

type_iconstring"

...

images/icons/silk/timeline_marker_rotated.png"

...

statusstring"2"

...

cmdb_statusstring"

...

6"

...

cmdb_status_titlestring"

...

In Betrieb"

...

createdstring"

...

2017-04-10 15:27:33

...

...

updatedstring"2017-04-11 10:22:22"

...

imagestring"

...

http://192.168.97.37/i-doit/images/objecttypes/enclosure.png"
enclosurearray-
formfactorarray-
devicesarray-


...

Device-Object

 

Device-Object

...

ParameterTypBeispiel
idstring"25"
title

...

string"DD_H1_DOS001"
typestring"Server"
type_idstring"5"
formfactorstring"19""
iconstring"images/icons/silk/server.png"
colorstring"images/icons/silk/server.png"
cmdb_colorstring"#A2BCFA"
cmdb_statusstring"Gelagert"
cmdb_status_idstring"11"
heightstring"14"
optionstring"3"
insertionstring"1"
posstring"15"


...

shd.rack.detach_object

Beschreibung

Auslesen einer selbst gebauten View.

Parameter

ParameterTypVersion

device_obj_id

stringab Version 1.0

Rückgabewert

WertTypVersion
-boolab Version 1.0

Beispiel 

Beispielaufruf

Beispielantwort


Codeblock
languagebash
themeRDark
{
    
}



Codeblock
languagebash
themeRDark
{ 
       
}



...

shd.rack.read

Beschreibung

Auslesen einer selbst gebauten View.

Parameter

ParameterTypBeschreibungVersion

objId

stringID des zu holenden Rackab Version 1.0

Rückgabewert

WertTypVersion
-Rack-Objektab Version 1.0

Beispiel 

Beispielaufruf

Beispielantwort


Codeblock
languagebash
themeRDark
{
    "method": "shd.rack.read",
    "params": {
        "apikey": "1ialbgclm9",
        "objId": "55",
        "language": "en"
    },
    "id": 1,
    "version": "2.0"
}



Codeblock
languagebash
themeRDark
{
    "jsonrpc": "2.0",
    "result": {
        "id": "55",
        "title": "Colo A001",
        "sysid": "RACK_00000055",
        "objecttype": "4",
        "type_title": "Schrank",
        "type_icon": "images/icons/silk/timeline_marker_rotated.png",
        "status": "2",
        "cmdb_status": "6",
        "cmdb_status_title": "In Betrieb",
        "created": "2015-02-20 16:39:36",
        "updated": "2017-03-21 11:26:20",
        "image": "http://192.168.97.41/i-doit/images/objecttypes/enclosure.png",
        "enclosure": {
            "id": "1",
            "objID": "55",
            "vertical_slots_front": "4",
            "vertical_slots_rear": "4",
            "slot_sorting": "desc",
            "description": ""
        },
        "formfactor": {
            "id": "1",
            "objID": "55",
            "formfactor": {
                "id": "1",
                "title": "19\"",
                "const": "C__FORMFACTOR_TYPE__19INCH",
                "title_lang": "19\""
            },
            "rackunits": "47",
            "unit": {
                "id": "1",
                "title": "mm",
                "const": "C__DEPTH_UNIT__MM",
                "title_lang": "LC__DEPTH_UNIT__MM"
            },
            "width": {
                "title": "800"
            },
            "height": {
                "title": "2200"
            },
            "depth": {
                "title": "1200"
            },
            "weight": [],
            "weight_unit": {
                "id": "1",
                "title": "g",
                "const": "C__WEIGHT_UNIT__G",
                "title_lang": "g"
            },
            "description": ""
        },
        "devices": {
            "2476": {
                "id": "2476",
                "title": "OpenStack Blade Enclosure A001 02",
                "type": "Blade Chassis",
                "type_id": "74",
                "formfactor": "19\"",
                "icon": "images/icons/silk/timeline_marker.png",
                "color": "#FFFFFF",
                "cmdb_color": "#EFAA43",
                "cmdb_status": "Geplant",
                "cmdb_status_id": "1",
                "height": "10",
                "option": "3",
                "insertion": "1",
                "image": "",
                "image_checksumme": "",
                "pos": "29"
            },
            "2619": {
                "id": "2619",
                "title": "OpenStack Blade Enclosure A001 01",
                "type": "Blade Chassis",
                "type_id": "74",
                "formfactor": "19\"",
                "icon": "images/icons/silk/timeline_marker.png",
                "color": "#FFFFFF",
                "cmdb_color": "#EFAA43",
                "cmdb_status": "Geplant",
                "cmdb_status_id": "1",
                "height": "10",
                "option": "3",
                "insertion": "1",
                "image": "",
                "image_checksumme": "",
                "pos": "39"
            },
          [..] 
        }
    },
    "id": 1
}