Supporting of reading subscriptions from subscription manager while restarting rtmgr
[ric-plt/rtmgr.git] / pkg / rtmgr / types.go
index b9c4cd6..2846173 100644 (file)
@@ -53,6 +53,7 @@ type Endpoint struct {
        Socket     interface{}
        IsReady    bool
        Keepalive  bool
+       Whid       int
 }
 
 type RouteTableEntry struct {
@@ -92,6 +93,11 @@ type E2TInstance struct {
         Ranlist []string `json:"ranlist"`
 }
 
+type E2tIdentity struct {
+        E2taddress string `json:"e2tAddress"`
+        Rannames []string `json:"ranNames"`
+}
+
 type ConfigRtmgr struct {
        Pcs PlatformComponents `json:"PlatformComponents"`
 }
@@ -130,3 +136,7 @@ type XappList struct {
         SubscriptionID  uint16
        FqdnList []FqDn
 }
+
+var (
+       Rtmgr_ready bool
+)