DemandFlow Support Centre

CONNECTION: Connection

ReferenceEntity Reference16/04/2026Updated 16/04/2026
The CONNECTION entity stores connections. Physical cable connection between two port instances, with media type, routing path, and test results.

CONNECTION: Connection

The CONNECTION entity stores connections. Physical cable connection between two port instances, with media type, routing path, and test results.

Default definition. This article describes the default CONNECTION definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches CONNECTION.

Entity properties

PropertyValue
Entity codeCONNECTION
Display nameConnection
PluralConnections
Level285

Use cases

CONNECTION models a physical cable or link between two COMPPORTINV port instances (portA and portB). It operates at the physical layer, tracking the actual cable infrastructure rather than logical services (which are handled by LOGICALCONNECTION).

Fields

Connection Details

FieldTypeRequiredNotes
nametextYesAuto-generated or custom identifier
connectionTypeenumYesImmediate: Direct physical connection | End-to-End: Logical connection through intermediaries. Valid ids: 1 (Immediate), 2 (End-to-End).
mediaTypeenumYesMedia Type. Valid ids: 1 (Copper - Cat5e), 2 (Copper - Cat6), 3 (Copper - Cat6a), 4 (Copper - Cat7), 5 (Copper - Cat8), 6 (Fiber - Single Mode), 7 (Fiber - Multi Mode OM3), 8 (Fiber - Multi Mode OM4), 9 (Fiber - Multi Mode OM5), 10 (Coaxial), 11 (DAC - Direct Attach Copper), 12 (AOC - Active Optical Cable), 13 (Power), 14 (Other).
protocolenumProtocol/Interface. Valid ids: 1 (Ethernet - 1G), 2 (Ethernet - 10G), 3 (Ethernet - 25G), 4 (Ethernet - 40G), 5 (Ethernet - 100G), 6 (Ethernet - 400G), 7 (Fibre Channel - 8G), 8 (Fibre Channel - 16G), 9 (Fibre Channel - 32G), 10 (InfiniBand), 11 (Serial Console), 12 (Power), 13 (Analog Voice), 14 (E1/T1), 15 (Other).
statusenumYesStatus. Valid ids: 1 (Active), 2 (Planned), 3 (Failed), 4 (Decommissioned), 5 (Testing).
logicalConnectionreference → LOGICALCONNECTIONThe end-to-end logical connection this cable is part of
pathOrdernumberPosition in the logical connection path (1 = first hop)

Endpoints

FieldTypeRequiredNotes
portAreference → COMPPORTINVYesPort A
portBreference → COMPPORTINVYesPort B
directionenumDirection. Valid ids: 1 (Bidirectional), 2 (A to B), 3 (B to A).
isActivebooleanIs this connection currently passing traffic
isRedundantbooleanRedundant Path

Cable Details

FieldTypeRequiredNotes
cableIdtextCable ID/Label
lengthnumberLength (meters)
colortextCable Color
manufacturerreference → VENCable Manufacturer
partNumbertextPart Number
installDatedateInstallation Date
testDatedateLast Test Date

Routing

FieldTypeRequiredNotes
routingPathtext (multi-line)Physical path of cable (e.g., Rack A1 → Under Floor → Rack B3)
intermediatePointstext (multi-line)Patch panels, junction boxes, etc.
cablePathwayreference → CABLEPATHWAYPrimary pathway this cable is routed through
cableTraytextFree-text reference - use Cable Pathway lookup above for new entries

Test Results

FieldTypeRequiredNotes
testResultenumTest Status. Valid ids: 1 (Pass), 2 (Fail), 3 (Marginal), 4 (Not Tested).
attenuationnumberAttenuation (dB)
insertionLossnumberInsertion Loss (dB)
returnLossnumberReturn Loss (dB)
crosstalknumberCrosstalk (dB)

Utilization

FieldTypeRequiredNotes
bandwidthnumberBandwidth (Gbps)
utilizationtextUtilization %. Read-only
servicetextService/Circuit ID

Notes & Documentation

FieldTypeRequiredNotes
notestext (multi-line)Notes
diagramtext (URL)Diagram Link

Documents

FieldTypeRequiredNotes
filesfileCable Photos

Relationships

  • Lookups: logicalConnection points at a LOGICALCONNECTION record; portA points at a COMPPORTINV record; portB points at a COMPPORTINV record; manufacturer points at a VEN record; cablePathway points at a CABLEPATHWAY record.

Creating a Connection via the API

POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json

{
  "entity":   "CONNECTION",
  "level":    285,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "name":        "Example value",
  "connectionType": "1",
  "mediaType":   "1",
  "status":      "1"
}

Listing Connections

GET /v1/entities/CONNECTION/SUB

See also

connectionconnections

Was this article helpful?

← Back to Knowledge Base