Infrastructure

From wiki
Jump to navigation Jump to search
[edit]
Context
edit
name  Infrastructure
purpose  Documents IT assets by modeling Devices (Computers, Harddisks, Monitors, Printers) and the Websites they serve — with specs, locations, network info and connectivity
since  2024-07-27
updated  2026-07-30
copyright  Wolfgang Fahl
demo  
master  https://contexts.bitplan.com/index.php/Infrastructure


[edit]
 namepluralNameisAextendsiconiconUrldocumentationwikiDocumentationdefaultstoremodelistLimitcargoheaderTabscontext
ComputerComputerComputersTopicextends DeviceFile:Workplace.png
/images/b/be/Workplace.png
A computer runs software to automate tasksA computer runs software to automate tasksproperty200falseInfrastructure
DeviceDeviceDevicesTopicextends NoneComponent.png
/images/4/40/Component.png
A general class for electronic devicesA general class for electronic devicesproperty200falseInfrastructure
HarddiskHarddiskHarddisksTopicextends DeviceFile:Harddisk.png
/images/e/ea/Harddisk.png
A harddisk stores data on magnetic media or using SSD technologyA harddisk stores data on magnetic media or using SSD technologyproperty200falseInfrastructure
MonitorMonitorMonitorsTopicextends DeviceMonitor.png
/images/f/f1/Monitor.png
A display device for computersA display device for computersproperty200falseInfrastructure
PrinterPrinterPrintersTopicextends DeviceFile:Printer3.png
/images/media/2/22/Printer3.png
Paper printerPaper printerproperty200falseInfrastructure
WebsiteWebsiteWebsitesTopicextends NoneComponent.png
/images/4/40/Component.png
A website or web service offered at a URL, served by a ComputerA website or web service offered at a URL, served by a Computerproperty200falseInfrastructure
[edit]

sidif

#
# This is the Inheritance example for the SiDIF based pyMetaModel
# see https://github.com/WolfgangFahl/pyMetaModel/issues/25
#
Infrastructure isA Context
"Infrastructure" is name of it
"2024-07-27" is since of it
"2026-07-12" is updated of it
"© 2024 Wolfgang Fahl" is copyright of it
"http://contexts.bitplan.com" is master of it

#
# a generic computer device
#
Device isA Topic
"Device" is name of it
"Devices" is pluralName of it
"A general class for electronic devices" is documentation of it
"File:Component.png" is icon of it
"/images/4/40/Component.png" is iconUrl of it
"property" is defaultstoremode of it
"Infrastructure" is context of it
# Properties of Device
Device_name addsTo it
Device_type addsTo it
Device_since addsTo it
Device_until addsTo it
Device_active addsTo it
Device_purpose addsTo it
Device_price addsTo it
Device_vendor addsTo it
Device_manufacturer addsTo it
Device_model addsTo it
Device_serial addsTo it
Device_location addsTo it
Device_ip addsTo it
Device_mac addsTo it
Device_website addsTo it
Device_driver addsTo it
Device_support addsTo it
Device_comment addsTo it
Device_orderNumber addsTo it
# properties of Device
# property name
Device_name isA Property
"name" is name of it
"name" is label of it
"Text" is type of it
1 is index of it
true is mandatory of it
"The name of the device" is documentation of it
true is showInGrid of it
"Device" is topic of it

# property type
Device_type isA Property
"type" is name of it
"type" is label of it
"Text" is type of it
2 is index of it
true is mandatory of it
"The type of the device" is documentation of it
true is showInGrid of it
"Device" is topic of it

# property since
Device_since isA Property
"since" is name of it
"since" is label of it
"Date" is type of it
3 is index of it
"datepicker" is inputType of it
"The date when the device was put into use" is documentation of it
true is showInGrid of it
"Device" is topic of it

# property until
Device_until isA Property
"until" is name of it
"until" is label of it
"Date" is type of it
4 is index of it
"datepicker" is inputType of it
"The date when the device was put out of use" is documentation of it
true is showInGrid of it
"Device" is topic of it

# property active
Device_active isA Property
"active" is name of it
"active" is label of it
"boolean" is type of it
5 is index of it
"True if the device is currently in operation" is documentation of it
true is showInGrid of it
"Device" is topic of it

# property purpose
Device_purpose isA Property
"purpose" is name of it
"purpose" is label of it
"Text" is type of it
false is showInGrid of it
6 is index of it
"The purpose the device is used for" is documentation of it
"Device" is topic of it

# property price
Device_price isA Property
"price" is name of it
"price" is label of it
"Number" is type of it
false is showInGrid of it
7 is index of it
"The price of the device in local currency" is documentation of it
"Device" is topic of it

# property vendor
Device_vendor isA Property
"vendor" is name of it
"vendor" is label of it
"Page" is type of it
false is showInGrid of it
8 is index of it
"The vendor of the device" is documentation of it
"Device" is topic of it

# property manufacturer
Device_manufacturer isA Property
"manufacturer" is name of it
"manufacturer" is label of it
"Text" is type of it
9 is index of it
"The manufacturer of the device" is documentation of it
true is showInGrid of it
"Device" is topic of it

# property model
Device_model isA Property
"model" is name of it
"model" is label of it
"Text" is type of it
10 is index of it
"The model of the device" is documentation of it
true is showInGrid of it
"Device" is topic of it

# property serial
Device_serial isA Property
"serial" is name of it
"serial" is label of it
"Text" is type of it
11 is index of it
"The serial number of the device" is documentation of it
"Device" is topic of it

# property location
Device_location isA Property
"location" is name of it
"location" is label of it
"Text" is type of it
12 is index of it
"The location of the device" is documentation of it
"Device" is topic of it

# property ip
Device_ip isA Property
"ip" is name of it
"ip" is label of it
"Text" is type of it
13 is index of it
"The IP address assigned to the device" is documentation of it
"Device" is topic of it

# property mac
Device_mac isA Property
"mac" is name of it
"mac" is label of it
"Text" is type of it
14 is index of it
"MAC hardware address of the device" is documentation of it
"Device" is topic of it

# property website
Device_website isA Property
"website" is name of it
"website" is label of it
"Text" is type of it
15 is index of it
true is showInGrid of it
"The website the device offers as a control panel" is documentation of it
"Device" is topic of it

# property driver
Device_driver isA Property
"driver" is name of it
"driver" is label of it
"Text" is type of it
16 is index of it
"The URL for the device driver of this device" is documentation of it
"Device" is topic of it

# property support
Device_support isA Property
"support" is name of it
"support" is label of it
"URL" is type of it
17 is index of it
"Website for device support" is documentation of it
"Device" is topic of it

# property comment
Device_comment isA Property
"comment" is name of it
"comment" is label of it
"Text" is type of it
18 is index of it
"textarea" is inputType of it
"Any comments about the device" is documentation of it
"Device" is topic of it

# property orderNumber
Device_orderNumber isA Property
"orderNumber" is name of it
"orderNumber" is label of it
"Text" is type of it
19 is index of it
"The vendor order number (Bestellnummer) under which the device was purchased" is documentation of it
"Device" is topic of it

#
#Computer
#
Computer extends Device
"Computer" is name of it
"Computers" is pluralName of it
"A computer runs software to automate tasks" is documentation of it
"File:Workplace.png" is icon of it
"/images/b/be/Workplace.png" is iconUrl of it
"Infrastructure" is context of it
Computer_os addsTo it
Computer_osversion addsTo it
Computer_location addsTo it
Computer_vm addsTo it

# properties specific to Computer
# property os
Computer_os isA Property
"os" is name of it
"os" is label of it
"Text" is type of it
9 is index of it
"The operating system of the computer" is documentation of it
false is isLink of it
"Computer" is topic of it

# property osversion
Computer_osversion isA Property
"osversion" is name of it
"osversion" is label of it
"Text" is type of it
10 is index of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"The operating system version of the computer" is documentation of it
true is showInGrid of it
false is isLink of it
"Computer" is topic of it

# property vm
Computer_vm isA Property
"vm" is name of it
"vm" is label of it
"Text" is type of it
12 is index of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"combobox" is inputType of it
"The virtual machine being used by the computer" is documentation of it
"property=Computer vm" is values_from of it
true is showInGrid of it
false is isLink of it
"Computer" is topic of it

#
#Harddisk
#
Harddisk extends Device
"Harddisk" is name of it
"Harddisks" is pluralName of it
"A harddisk stores data on magnetic media or using SSD technology" is documentation of it
"File:Harddisk.png" is icon of it
"/images/e/ea/Harddisk.png" is iconUrl of it
"Infrastructure" is context of it
Harddisk_size addsTo it
Harddisk_formfactor addsTo it
Harddisk_rpm addsTo it

# properties specific to Harddisk
# property size
Harddisk_size isA Property
"size" is name of it
"size" is label of it
"Number" is type of it
9 is index of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"Size of the harddisk in GB" is documentation of it
true is showInGrid of it
false is isLink of it
"Harddisk" is topic of it

# property formfactor
Harddisk_formfactor isA Property
"formfactor" is name of it
"formfactor" is label of it
"Text" is type of it
10 is index of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"radiobutton" is inputType of it
"2.5, 3.5" is allowedValues of it
"Form factor of the harddisk in inches" is documentation of it
true is showInGrid of it
false is isLink of it
"Harddisk" is topic of it

# property rpm
Harddisk_rpm isA Property
"rpm" is name of it
"rpm" is label of it
"Text" is type of it
11 is index of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"radiobutton" is inputType of it
"5400,7200,SSD" is allowedValues of it
"The number of rounds per minute or SSD if this is a solid-state drive" is documentation of it
false is showInGrid of it
false is isLink of it
"Harddisk" is topic of it

#
# Monitor
#
Monitor extends Device
"Monitor" is name of it
"Monitors" is pluralName of it
"A display device for computers" is documentation of it
"File:Monitor.png" is icon of it
"/images/f/f1/Monitor.png" is iconUrl of it
"Infrastructure" is context of it
Monitor_resolution addsTo it

# properties specific to Monitor
# property resolution
Monitor_resolution isA Property
"resolution" is name of it
"resolution" is label of it
"Text" is type of it
16 is index of it
true is mandatory of it
"The display resolution of the monitor (e.g., 1920x1080)" is documentation of it
true is showInGrid of it
false is isLink of it
"Monitor" is topic of it

#
# Printer
#
Printer extends Device
"Printer" is name of it
"Printers" is pluralName of it
"Paper printer" is documentation of it
"File:Printer3.png" is icon of it
"/images/media/2/22/Printer3.png" is iconUrl of it
"Infrastructure" is context of it

#
# Website
#
Website isA Topic
"Website" is name of it
"Websites" is pluralName of it
"A website or web service offered at a URL, served by a Computer" is documentation of it
"File:Component.png" is icon of it
"/images/4/40/Component.png" is iconUrl of it
"property" is defaultstoremode of it
"Infrastructure" is context of it
# Properties of Website
Website_name addsTo it
Website_purpose addsTo it
Website_url addsTo it
Website_docurl addsTo it
Website_statusUrl addsTo it
Website_ui addsTo it
Website_publicity addsTo it
Website_since addsTo it
Website_active addsTo it
Website_monitor addsTo it

# properties of Website
# property name
Website_name isA Property
"name" is name of it
"name" is label of it
"Text" is type of it
1 is index of it
true is mandatory of it
"The name of the website (canonical hostname)" is documentation of it
true is showInGrid of it
"Website" is topic of it

# property purpose
Website_purpose isA Property
"purpose" is name of it
"purpose" is label of it
"Text" is type of it
2 is index of it
"The purpose the website serves" is documentation of it
true is showInGrid of it
"Website" is topic of it

# property url
Website_url isA Property
"url" is name of it
"url" is label of it
"URL" is type of it
3 is index of it
true is mandatory of it
"The URL where the website is served" is documentation of it
true is showInGrid of it
"Website" is topic of it

# property docurl
Website_docurl isA Property
"docurl" is name of it
"docurl" is label of it
"URL" is type of it
4 is index of it
"URL of the page documenting this website e.g. on the media wiki" is documentation of it
"Website" is topic of it

# property statusUrl
Website_statusUrl isA Property
"statusUrl" is name of it
"statusUrl" is label of it
"URL" is type of it
5 is index of it
"URL of this website's monitor on the status system - reflexive for the status website itself" is documentation of it
"Website" is topic of it

# property ui
Website_ui isA Property
"ui" is name of it
"ui" is label of it
"Text" is type of it
6 is index of it
"The UI/engine of the website e.g. MediaWiki, Uptime Kuma, Nextcloud" is documentation of it
true is showInGrid of it
"Website" is topic of it

# property publicity
Website_publicity isA Property
"publicity" is name of it
"publicity" is label of it
"Text" is type of it
7 is index of it
"radiobutton" is inputType of it
"public,intranet" is allowedValues of it
"Whether the website is public or intranet-only" is documentation of it
true is showInGrid of it
"Website" is topic of it

# property since
Website_since isA Property
"since" is name of it
"since" is label of it
"Date" is type of it
8 is index of it
"datepicker" is inputType of it
"The date the website went live" is documentation of it
"Website" is topic of it

# property active
Website_active isA Property
"active" is name of it
"active" is label of it
"boolean" is type of it
9 is index of it
"True if the website is currently served" is documentation of it
true is showInGrid of it
"Website" is topic of it

# property monitor
Website_monitor isA Property
"monitor" is name of it
"monitor" is label of it
"boolean" is type of it
10 is index of it
"True if this website shall be monitored on the status system" is documentation of it
"Website" is topic of it

#
#
# Extension
#
Extension isA Topic
"Extension" is name of it
"A MediaWiki extension" is documentation of it
"File:Extension-Icon-64px.png" is icon of it
"/images/a/a5/Extension-Icon-64px.png" is iconUrl of it
"property" is defaultstoremode of it
"Infrastructure" is context of it
Extension_id addsTo it
Extension_name addsTo it
Extension_url addsTo it
Extension_wikidataid addsTo it
Extension_purpose addsTo it
Extension_since addsTo it
Extension_until addsTo it
Extension_state addsTo it
Extension_version addsTo it
Extension_installedAt addsTo it
Extension_comment addsTo it
# Property id
Extension_id isA Property
"Text" is type of it
"id" is name of it
"id" is label of it
1 is index of it
true is primaryKey of it
true is mandatory of it
"identity of the extension - the wfLoadExtension key, which is also the extension directory name" is documentation of it
true is showInGrid of it
false is isLink of it
"Extension" is topic of it
# Property name
Extension_name isA Property
"Text" is type of it
"name" is name of it
"name" is label of it
2 is index of it
false is primaryKey of it
true is mandatory of it
"human readable name of the extension, e.g. Page Forms" is documentation of it
true is showInGrid of it
"Extension" is topic of it
# Property url
Extension_url isA Property
"Url" is type of it
"url" is name of it
"url" is label of it
3 is index of it
false is primaryKey of it
false is mandatory of it
"Extension" is topic of it
# property wikidataid
Extension_wikidataid isA Property
"wikidataid" is name of it
"wikidataid" is label of it
"External identifier" is type of it
"https://www.wikidata.org/wiki/$1" is formatterURI of it
4 is index of it
false is primaryKey of it
false is mandatory of it
50 is size of it
false is uploadable of it
"The wikidataid of the Extension" is documentation of it
false is isLink of it
"Extension" is topic of it
# Property purpose
Extension_purpose isA Property
"The purpose of the extension" is documentation of it
"Text" is type of it
"purpose" is name of it
5 is index of it
"purpose" is label of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"Extension" is topic of it
#Property since
Extension_since isA Property
"since" is name of it
"since" is label of it
"Date" is type of it
6 is index of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"datepicker" is inputType of it
"when was the extension first installed" is documentation of it
true is showInGrid of it
false is isLink of it
"Extension" is topic of it
#Property until
Extension_until isA Property
"until" is name of it
"until" is label of it
"Date" is type of it
7 is index of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"datepicker" is inputType of it
"when was the extension uninstall / unuseable" is documentation of it
true is showInGrid of it
false is isLink of it
"Extension" is topic of it
# property state
Extension_state isA Property
"state" is name of it
"state" is label of it
"✅,❌,⚠️,⛔" is allowedValues of it
"radiobutton" is inputType of it
"Text" is type of it
8 is index of it
false is primaryKey of it
false is mandatory of it
1 is size of it
false is uploadable of it
"state of the Extension" is documentation of it
false is isLink of it
"Extension" is topic of it
# property version
Extension_version isA Property
"version" is name of it
"version" is label of it
"Text" is type of it
9 is index of it
false is primaryKey of it
false is mandatory of it
50 is size of it
false is uploadable of it
"installed version of the extension" is documentation of it
true is showInGrid of it
false is isLink of it
"Extension" is topic of it
# property installedAt
Extension_installedAt isA Property
"installedAt" is name of it
"installedAt" is label of it
"Date" is type of it
10 is index of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"datepicker" is inputType of it
"when the installed version was installed" is documentation of it
true is showInGrid of it
false is isLink of it
"Extension" is topic of it
# property comment
Extension_comment isA Property
"comment" is name of it
"comment" is label of it
"Text" is type of it
"textarea" is inputType of it
400 is size of it
11 is index of it
false is primaryKey of it
false is mandatory of it
false is uploadable of it
"a comment for the Extension" is documentation of it
false is showInGrid of it
false is isLink of it
"Extension" is topic of it
#
# TopicLinks
#
# Computer Device 1:n
Connected_to_computer isA TopicLink
"computer" is name of it
"Computer" is source of it
"Computer to which this Device is connected" is sourceDocumentation of it
"computer" is sourceRole of it
false is sourceMultiple of it
"Device" is target of it
"devices" is targetRole of it
"Devices connected to this Computer" is targetDocumentation of it
true is targetMultiple of it
true is masterDetail of it

# Computer Website 1:n
Hosted_by_computer isA TopicLink
"host" is name of it
"Computer" is source of it
"Computer serving this Website" is sourceDocumentation of it
"host" is sourceRole of it
false is sourceMultiple of it
"Website" is target of it
"websites" is targetRole of it
"Websites served by this Computer" is targetDocumentation of it
true is targetMultiple of it
true is masterDetail of it