Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha
/
b83853e2a9e3ed6fe31d0aa3a23409736caf7326
/
.
/
ponsim
/
v2
/
core
/
ponsim_device_type.go
blob: 306440c967c3859c9db38165350e8f1cb291f527 [
file
] [
log
] [
blame
]
package core
type PonSimDeviceType uint8
const (
OLT PonSimDeviceType = iota
ONU
)
var enum_ponsim_device_types = []string{
"OLT",
"ONU",
}
func (t PonSimDeviceType) String() string {
return enum_ponsim_device_types[t]
}