cleaning stuff up
Change-Id: Ib7e91c6e92b6f6b3c93f4d8ca5dcbfcf74f6c671
diff --git a/models/physical/olt.go b/models/physical/olt.go
index beffec8..121fdac 100644
--- a/models/physical/olt.go
+++ b/models/physical/olt.go
@@ -29,6 +29,7 @@
GetPorts() []PONPort
GetParent() *Chassis
GetDataSwitchPort() int
+ activate() error
}
/*
@@ -73,3 +74,8 @@
func (s *SimpleOLT) GetDataSwitchPort() int {
return s.DataSwitchPort
}
+func (s *SimpleOLT) activate() error {
+ s.Active = true
+ //TODO make call to XOS to activate phyiscal OLT
+ return nil
+}