X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Ftypes.go;h=22c8bc47756da68379fdba60dae587f258b6ef98;hb=c7da4ee19c2b2a96c1eeccd8da944902fcd9323f;hp=93cddb04c64c0d20563a814bb33b0b8ff0964315;hpb=24f80f45e026915e780626b33e87588147d66df8;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/types.go b/pkg/control/types.go index 93cddb0..22c8bc4 100644 --- a/pkg/control/types.go +++ b/pkg/control/types.go @@ -23,6 +23,7 @@ import ( "time" "gerrit.o-ran-sc.org/r/ric-plt/e2ap/pkg/e2ap" + "gerrit.o-ran-sc.org/r/ric-plt/xapp-frame/pkg/xapp" ) //----------------------------------------------------------------------------- @@ -71,3 +72,10 @@ func (e *ErrorInfo) SetInfo(errorCause string, errorSource string, timeoutType s e.ErrorSource = errorSource e.TimeoutType = timeoutType } + +type XappRnibInterface interface { + XappRnibSubscribe(cb func(string, ...string), channel string) error + XappRnibGetListGnbIds() ([]*xapp.RNIBNbIdentity, xapp.RNIBIRNibError) + XappRnibStoreAndPublish(channel string, event string, pairs ...interface{}) error + XappRnibGetNodeb(inventoryName string) (*xapp.RNIBNodebInfo, xapp.RNIBIRNibError) +}