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