Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha
/
0efa651559d79732d089d916e7d9db97a20cac84
/
.
/
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]
}