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