Returning tech profile id
Change-Id: Ic56d0ce165c78c4bd8b51dde4ab3fbe72628c48c
diff --git a/handlers.go b/handlers.go
index 63f14f6..0950ca7 100644
--- a/handlers.go
+++ b/handlers.go
@@ -50,12 +50,13 @@
if sub.OnuSerialNumber == sadisRequestID {
log.Infof("Found subscriber with ID %s", sub.OnuSerialNumber)
sadisSubscriber := sadisSubscriber{
- ID: sub.OnuSerialNumber,
- CTag: sub.CTag,
- STag: sub.STag,
- NasPortID: sub.NasPortID,
- CircuitID: sub.CircuitID,
- RemoteID: sub.RemoteID,
+ ID: sub.OnuSerialNumber,
+ CTag: sub.CTag,
+ STag: sub.STag,
+ NasPortID: sub.NasPortID,
+ CircuitID: sub.CircuitID,
+ RemoteID: sub.RemoteID,
+ TechnologyProfileID: 64,
}
log.Debugf("Fetching bandwidth profiles for subscriber %s", sub.OnuSerialNumber)
diff --git a/sadisTypes.go b/sadisTypes.go
index 5bf1213..ba78ee2 100644
--- a/sadisTypes.go
+++ b/sadisTypes.go
@@ -35,6 +35,7 @@
RemoteID string `json:"remoteId"`
UpstreamBandwidthProfile string `json:"upstreamBandwidthProfile"`
DownstreamBandwidthProfile string `json:"downstreamBandwidthProfile"`
+ TechnologyProfileID int `json:"technologyProfileId"`
}
/*