Port

This is a protocol structure that allows several message types to communicate the abilities, and state of a port on the OpenFlow switch device.

Structure

Each port structure refers to a single port on the OpenFlow switch. This port is identified by the port id, with several reserved ones for special ports (Max, Flood, Controller, etc). The hw addr is the link layer address associated with the port, for instance each port on an ethernet switch has a unique MAC. The port's name is stored as an ASCII null-terminated string in a field that is 16 bytes in length. The config field is a bitmask representing the configured state of the port. While the state field represents the dynamic state of the port (link down, etc). The curr, advertised, supported, and peer fields all use the same domain, port features.

Port Structure

Name Bits Byte Ordering Constraints
port id 16 MSBF See below
hw addr 48 MSBF none
name 128 MSBF NTS
config 32 MSBF See below
state 32 MSBF See below
curr 32 MSBF See below
advertised 32 MSBF See below

Port Constraints

Field Name Value
Id Max 0xFF00
InPort 0xFFF8
Table 0xFFF9
Normal 0xFFFA
Flood 0xFFFB
All 0xFFFC
Controller 0xFFFD
Local 0xFFFE
None 0xFFFF
Config PortDown 0x00000001
NoSTP 0x00000002
NoRecv 0x00000004
NoRecvSTP 0x00000008
NoFlood 0x00000010
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
State STPListen 0x00000000
LinkDown 0x00000001
STPLearn 0x00000002
STPForward 0x00000004
STPBlock 0x00000008
STPMask 0x00000010
Feature 10MB_HD 0x00000001
10MB_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
Copper 0x00000080
Fiber 0x00000100
AutoNeg 0x00000200
Pause 0x00000400
PauseAsym 0x00000800

References

OpenFlow Switch Specification 1.0.0, pages 17-19

Structure

Each port structure refers to a single port on the OpenFlow switch. This port is identified by the port id, with several reserved ones for special ports (Max, Flood, Controller, etc). The hw addr is the link layer address associated with the port, for instance each port on an ethernet switch has a unique MAC. The port's name is stored as an ASCII null-terminated string in a field that is 16 bytes in length. The config field is a bitmask representing the configured state of the port. While the state field represents the dynamic state of the port (link down, etc). The curr, advertised, supported, and peer fields all use the same domain, port features.

Port Structure

Name Bits Byte Ordering Constraints
port id 32 MSBF See below
padding 32 - none
hw addr 48 MSBF none
padding 16 - none
name 128 MSBF NTS
config 32 MSBF See below
state 32 MSBF See below
curr 32 MSBF See below
advertised 32 MSBF See below
curr_speed 32 MSBF none
max_speed 32 MSBF none

Port Constraints

Field Name Value
Id Max 0xFFFFFF00
InPort 0xFFFFFFF8
Table 0xFFFFFFF9
Normal 0xFFFFFFFA
Flood 0xFFFFFFFB
All 0xFFFFFFFC
Controller 0xFFFFFFFD
Local 0xFFFFFFFE
Any 0xFFFFFFFF
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
State LinkDown 0x00000001
Blocked 0x00000002
Live 0x00000004
Feature 10MB_HD 0x00000001
10MB_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.1.0, pages 25-27

Structure

Each port structure refers to a single port on the OpenFlow switch. This port is identified by the port id, with several reserved ones for special ports (Max, Flood, Controller, etc). The hw addr is the link layer address associated with the port, for instance each port on an ethernet switch has a unique MAC. The port's name is stored as an ASCII null-terminated string in a field that is 16 bytes in length. The config field is a bitmask representing the configured state of the port. While the state field represents the dynamic state of the port (link down, etc). The curr, advertised, supported, and peer fields all use the same domain, port features.

Port Structure

Name Bits Byte Ordering Constraints
port id 32 MSBF See below
padding 32 - none
hw addr 48 MSBF none
padding 16 - none
name 128 MSBF NTS
config 32 MSBF See below
state 32 MSBF See below
curr 32 MSBF See below
advertised 32 MSBF See below
curr_speed 32 MSBF none
max_speed 32 MSBF none

Port Constraints

Field Name Value
Id Max 0xFFFFFF00
InPort 0xFFFFFFF8
Table 0xFFFFFFF9
Normal 0xFFFFFFFA
Flood 0xFFFFFFFB
All 0xFFFFFFFC
Controller 0xFFFFFFFD
Local 0xFFFFFFFE
Any 0xFFFFFFFF
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
State LinkDown 0x00000001
Blocked 0x00000002
Live 0x00000004
Feature 10MB_HD 0x00000001
10MB_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.2.0, pages 28-31

Structure

Each port structure refers to a single port on the OpenFlow switch. This port is identified by the port id, with several reserved ones for special ports (Max, Flood, Controller, etc). The hw addr is the link layer address associated with the port, for instance each port on an ethernet switch has a unique MAC. The port's name is stored as an ASCII null-terminated string in a field that is 16 bytes in length. The config field is a bitmask representing the configured state of the port. While the state field represents the dynamic state of the port (link down, etc). The curr, advertised, supported, and peer fields all use the same domain, port features.

Port Structure

Name Bits Byte Ordering Constraints
port id 32 MSBF See below
padding 32 - none
hw addr 48 MSBF none
padding 16 - none
name 128 MSBF NTS
config 32 MSBF See below
state 32 MSBF See below
curr 32 MSBF See below
advertised 32 MSBF See below
curr_speed 32 MSBF none
max_speed 32 MSBF none

Port Constraints

Field Name Value
Id Max 0xFFFFFF00
InPort 0xFFFFFFF8
Table 0xFFFFFFF9
Normal 0xFFFFFFFA
Flood 0xFFFFFFFB
All 0xFFFFFFFC
Controller 0xFFFFFFFD
Local 0xFFFFFFFE
Any 0xFFFFFFFF
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
State LinkDown 0x00000001
Blocked 0x00000002
Live 0x00000004
Feature 10MB_HD 0x00000001
10MB_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.3.0, pages 35-37

Structure

Each port structure refers to a single port on the OpenFlow switch. This port is identified by the port id, with several reserved ones for special ports (Max, Flood, Controller, etc). The hw addr is the link layer address associated with the port, for instance each port on an ethernet switch has a unique MAC. The port's name is stored as an ASCII null-terminated string in a field that is 16 bytes in length. The config field is a bitmask representing the configured state of the port. While the state field represents the dynamic state of the port (link down, etc). The curr, advertised, supported, and peer fields all use the same domain, port features.

Port Structure

Name Bits Byte Ordering Constraints
port id 32 MSBF See below
padding 32 - none
hw addr 48 MSBF none
padding 16 - none
name 128 MSBF NTS
config 32 MSBF See below
state 32 MSBF See below
curr 32 MSBF See below
advertised 32 MSBF See below
curr_speed 32 MSBF none
max_speed 32 MSBF none

Port Constraints

Field Name Value
Id Max 0xFFFFFF00
InPort 0xFFFFFFF8
Table 0xFFFFFFF9
Normal 0xFFFFFFFA
Flood 0xFFFFFFFB
All 0xFFFFFFFC
Controller 0xFFFFFFFD
Local 0xFFFFFFFE
Any 0xFFFFFFFF
Config PortDown 0x00000001
NoRecv 0x00000004
NoFwd 0x00000020
NoPacketIn 0x00000040
Field Name Value
State LinkDown 0x00000001
Blocked 0x00000002
Live 0x00000004
Feature 10MB_HD 0x00000001
10MB_FD 0x00000002
100MB_HD 0x00000004
100MB_FD 0x00000008
1GB_HD 0x00000010
1GB_FD 0x00000020
10GB_FD 0x00000040
40GB_FD 0x00000080
100GB_FD 0x00000100
1TB_FD 0x00000200
Other 0x00000400
Copper 0x00000800
Fiber 0x00001000
AutoNeg 0x00002000
Pause 0x00004000
PauseAsym 0x00008000

References

OpenFlow Switch Specification 1.3.1, pages 40-43
Under development
This section is under active development.

Under development
This section is under active development.

Under development
This section is under active development.