X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=pkg%2Frtmgr%2Ftypes.go;h=284617349124176e818d3159415fd8dde3136201;hb=refs%2Fchanges%2F65%2F3065%2F1;hp=91a8aebcb796739f45336309a77e8390666c2790;hpb=51db0122302c9d72e1de6f8a8e250d219b8b44d8;p=ric-plt%2Frtmgr.git diff --git a/pkg/rtmgr/types.go b/pkg/rtmgr/types.go index 91a8aeb..2846173 100644 --- a/pkg/rtmgr/types.go +++ b/pkg/rtmgr/types.go @@ -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 +)