DemandFlow Support Centre

VPORTGROUP: Port Group

ReferenceEntity Reference16/04/2026Updated 16/04/2026
A VLAN-backed port group on a virtual switch, defining network segmentation, security policies, and traffic shaping for connected VMs.

VPORTGROUP: Port Group

A VLAN-backed port group on a virtual switch, defining network segmentation, security policies, and traffic shaping for connected VMs.

Default definition. This article describes the default VPORTGROUP 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 VPORTGROUP.

Entity properties

PropertyValue
Entity codeVPORTGROUP
Display namePort Group
PluralPort Groups
Level311

Use cases

A VLAN-backed port group on a virtual switch, defining network segmentation, security policies, and traffic shaping for connected VMs.

VPORTGROUP is a child of VSWITCH via comboKey (SUB|HYPC|VSW). It represents a named network segment that VMs attach to. equivalent to a vSphere Port Group, Hyper-V VM Network, or OVS port/bridge. Each port group defines the VLAN tagging, security posture (promiscuous mode, MAC changes, forged transmits), and optional traffic shaping. The ipSubnet field links to the existing IPADDRESS or IPRANGE entities to tie virtual networking back to the IP address management model. VMs reference a port group via the networkPortGroup field on COMPINV.

Fields

Port Group Information

FieldTypeRequiredNotes
nametextYesPort Group Name.
descriptiontext (multi-line)Description.
vswitchreference → VSWITCHVirtual Switch.
statusenumYesValid ids: 1 (Active), 2 (Inactive), 3 (Error).

VLAN Configuration

FieldTypeRequiredNotes
vlanIdnumber0 = none, 4095 = trunk all
vlanTypeenumValid ids: 1 (Access), 2 (Trunk), 3 (Private VLAN (Promiscuous)), 4 (Private VLAN (Isolated)), 5 (Private VLAN (Community)).
trunkRangetexte.g. 100-200,300,400-410
ipSubnetreference → IPRANGEAssociated IP range for this network segment
gatewaytextGateway.
activePortsnumberActive Ports. Read only.

Security Policy

FieldTypeRequiredNotes
promiscuousModeenumValid ids: 1 (Reject), 2 (Accept), 3 (Inherit).
macChangesenumValid ids: 1 (Reject), 2 (Accept), 3 (Inherit).
forgedTransmitsenumValid ids: 1 (Reject), 2 (Accept), 3 (Inherit).

Traffic Shaping

FieldTypeRequiredNotes
trafficShapingEnabledbooleanTraffic Shaping Enabled.
avgBandwidthKbpsnumberAvg Bandwidth (Kbps).
peakBandwidthKbpsnumberPeak Bandwidth (Kbps).
burstSizeKbnumberBurst Size (KB).

Attachments and additional panels

  • Activity timeline panel attached.

Relationships

  • Lookups: vswitch points at a VSWITCH record; ipSubnet points at a IPRANGE record.
  • Related lists: COMPINV via link.

Creating a Port Group via the API

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

{
  "entity":   "VPORTGROUP",
  "level":    311,
  "comboKey": "SUB:<your-sub-id>|ENT:",
  "name": "Example name",
  "status": 1
}

Listing Port Groups

GET /v1/entities/VPORTGROUP/SUB

See also

vportgroupportgroupgroups

Was this article helpful?

← Back to Knowledge Base