Handling of subscription merge and inclusion of RMR lib from xapp-framework
[ric-plt/rtmgr.git] / pkg / rtmgr / types.go
index 9378656..b9c4cd6 100644 (file)
@@ -99,13 +99,14 @@ type ConfigRtmgr struct {
 type RicComponents struct {
        XApps []XApp
        E2Ts  map [string]E2TInstance
+       MeidMap  []string
        Pcs   PlatformComponents
 }
 
 type Subscription struct {
        SubID int32
-       Fqdn  string
-       Port  uint16
+       Fqdn string
+       Port uint16
 }
 
 type PlatformRoutes []struct {
@@ -120,4 +121,12 @@ type RtmgrRoutes struct {
        Prs PlatformRoutes      `json:"PlatformRoutes"`
 }
 
+type FqDn struct {
+       Address *string
+        Port *uint16
+}
 
+type XappList struct {
+        SubscriptionID  uint16
+       FqdnList []FqDn
+}