Skip to main content

OpenFlow and gPTP

Both protocols are configured in the task's Access Plane/access-infrastructure context. They test SDN controllers (OpenFlow) and IEEE 802.1AS time synchronization (gPTP).

OpenFlow

Emulates an OpenFlow device (Switch) or controller (Controller). Versions 1.0 and 1.3 are supported.

Table — OpenFlow Parameters

NameDescriptionValue
RoleSwitch or ControllerEmulated role
VersionProtocol version1.0 / 1.3
Peer address / portController or switch addressFor Controller: peer switch; for Switch: controller
ReconnectReconnection intervalUsed after the OpenFlow TCP session disconnects
Datapath IDDatapath (switch) identifierHex/numeric ID
Buffers / tablesNumber of buffers and tablesAccording to emulation capabilities
Capabilities bitmapAdvertised capabilitiesCapability bitmap
Network interfaceAgent interfacePort binding
Keepalive / hold / teardownSession timersSeconds
ToSToS/DSCP of control packetsAccording to the testbed

After starting, check that the OpenFlow channel is established, Feature Reply/Echo messages are exchanged, and reconnection is stable. If no session is established, compare the IP/port, version, and role—which side is the listener.

gPTP (IEEE 802.1AS)

One instance can run on each physical interface. The supported roles are Grandmaster and Slave; BMCA parameters and intervals are expressed as log2 seconds.

Table — gPTP Parameters

NameDescriptionValue
RoleGrandmaster or SlaveClock role
Clock identityClock identifierauto or EUI-64
Priority 1 / Priority 2BMCA prioritiesLower is preferred
Clock class / accuracy / varianceClock qualityAccording to the 802.1AS profile
Time sourceTime sourceAs defined by the standard
Sync / Announce / PDelay intervalMessage intervalslog2 seconds
UTC offsetUTC offsetSeconds

After starting, check the selected grandmaster, sync/pdelay stability, and offset. If a slave does not synchronize, check L2 connectivity on the interface and compare the roles and identities at both ends.