Making Platform Static Routes configurable
[ric-plt/rtmgr.git] / pkg / rtmgr / types.go
index 783f49d..9378656 100644 (file)
@@ -107,3 +107,17 @@ type Subscription struct {
        Fqdn  string
        Port  uint16
 }
+
+type PlatformRoutes []struct {
+       MessageType     string `json:"messagetype"`
+       SenderEndPoint  string `json:"senderendpoint"`
+       SubscriptionId  int32  `json:"subscriptionid"`
+       EndPoint        string `json:"endpoint"`
+       Meid            string `json:"meid"`
+}
+
+type RtmgrRoutes struct {
+       Prs PlatformRoutes      `json:"PlatformRoutes"`
+}
+
+