Reverting the code after releasing the image
[ric-plt/rtmgr.git] / pkg / rtmgr / types.go
index 91a8aeb..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"`
 }
@@ -105,8 +111,8 @@ type RicComponents struct {
 
 type Subscription struct {
        SubID int32
-       Fqdn  string
-       Port  uint16
+       Fqdn string
+       Port uint16
 }
 
 type PlatformRoutes []struct {
@@ -121,4 +127,16 @@ type RtmgrRoutes struct {
        Prs PlatformRoutes      `json:"PlatformRoutes"`
 }
 
+type FqDn struct {
+       Address *string
+        Port *uint16
+}
+
+type XappList struct {
+        SubscriptionID  uint16
+       FqdnList []FqDn
+}
 
+var (
+       Rtmgr_ready bool
+)