commit | 86e8ce6e05924a32f754f111007b31d6b360a230 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Oct 11 12:03:10 2019 -0700 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Oct 11 12:03:10 2019 -0700 |
tree | 8f18ddcbb0615b3b172b728185a945394ff405ff | |
parent | 3830549144903f943fe048c0a01eda197dfea6f2 [diff] [blame] |
Cleanup Change-Id: Iceb908751e93e7d42de5f06942092599b1a5509d
diff --git a/internal/bbsim/devices/nni.go b/internal/bbsim/devices/nni.go index 814c825..05585fc 100644 --- a/internal/bbsim/devices/nni.go +++ b/internal/bbsim/devices/nni.go
@@ -34,6 +34,15 @@ dhcpServerIp = "182.21.0.128" ) +type NniPort struct { + // BBSIM Internals + ID uint32 + + // PON Attributes + OperState *fsm.FSM + Type string +} + func CreateNNI(olt *OltDevice) (NniPort, error) { nniPort := NniPort{ ID: uint32(0),