Skip to content

Commit

Permalink
UINT64 type now available within the PID Proto so add the network spe…
Browse files Browse the repository at this point in the history
…ed PIDs
  • Loading branch information
peternewman committed Oct 14, 2024
1 parent c242d16 commit d68c035
Showing 1 changed file with 50 additions and 51 deletions.
101 changes: 50 additions & 51 deletions data/rdm/draft_pids.proto
Original file line number Diff line number Diff line change
Expand Up @@ -362,57 +362,56 @@ pid {
}
get_sub_device_range: ROOT_OR_SUBDEVICE
}
# TODO(Peter): Need to implement the UINT64 type within the PID Proto
#pid {
# name: "IFC_INTERFACE_LINE_SPEED"
# value:
# get_request {
# field {
# type: UINT32
# name: "interface_id"
# range {
# min: 1
# max: 4294967295
# }
# }
# }
# get_response {
# field {
# type: UINT32
# name: "interface_id"
# }
# field {
# type: UINT64
# name: "line_speed"
# }
# }
# get_sub_device_range: ROOT_OR_SUBDEVICE
#}
#pid {
# name: "IFC_INTERFACE_UTILIZATION"
# value:
# get_request {
# field {
# type: UINT32
# name: "interface_id"
# range {
# min: 1
# max: 4294967295
# }
# }
# }
# get_response {
# field {
# type: UINT32
# name: "interface_id"
# }
# field {
# type: UINT64
# name: "utilization"
# }
# }
# get_sub_device_range: ROOT_OR_SUBDEVICE
#}
pid {
name: "IFC_INTERFACE_LINE_SPEED"
value:
get_request {
field {
type: UINT32
name: "interface_id"
range {
min: 1
max: 4294967295
}
}
}
get_response {
field {
type: UINT32
name: "interface_id"
}
field {
type: UINT64
name: "line_speed"
}
}
get_sub_device_range: ROOT_OR_SUBDEVICE
}
pid {
name: "IFC_INTERFACE_UTILIZATION"
value:
get_request {
field {
type: UINT32
name: "interface_id"
range {
min: 1
max: 4294967295
}
}
}
get_response {
field {
type: UINT32
name: "interface_id"
}
field {
type: UINT64
name: "utilization"
}
}
get_sub_device_range: ROOT_OR_SUBDEVICE
}
pid {
name: "IFC_INTERFACE_DUPLEX_MODE"
value:
Expand Down

0 comments on commit d68c035

Please sign in to comment.