X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fstub%2Fstub.go;h=f57f70eefef22dcb51e444fd1be0b88657ba3ce8;hb=a8596ec6db91b8a45a1a21421a726b9b05ce7d48;hp=06f2e3024084b4c7f3b0cfdc359beb6c17057508;hpb=eb2ff0d217caf158dd15424bf70f8aa79c3742b1;p=ric-plt%2Frtmgr.git diff --git a/pkg/stub/stub.go b/pkg/stub/stub.go index 06f2e30..f57f70e 100644 --- a/pkg/stub/stub.go +++ b/pkg/stub/stub.go @@ -14,6 +14,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + + This source code is part of the near-RT RIC (RAN Intelligent Controller) + platform project (RICP). + ================================================================================== */ /* @@ -26,7 +30,7 @@ package stub import "routing-manager/pkg/rtmgr" -var ValidXapps = &[]rtmgr.XApp{ +var ValidXApps = &[]rtmgr.XApp{ {Name: "app1", Status: "", Version: "", Instances: []rtmgr.XAppInstance{{Name: "E2TERM", Status: "unknown", Ip: "10.0.0.1", Port: 0, TxMessages: []string{"HandoverPreparation", "HandoverCancel"}, RxMessages: []string{"HandoverPreparation", "HandoverCancel"}}}}, {Name: "app2", Status: "", Version: "", Instances: []rtmgr.XAppInstance{{Name: "SUBMAN", Status: "unknown", Ip: "192.168.0.1", Port: 0, TxMessages: []string{"HandoverCancel", "HandoverPreparation"}, RxMessages: []string{"HandoverPreparation", "HandoverCancel"}}}}, {Name: "app3", Status: "", Version: "", Instances: []rtmgr.XAppInstance{{Name: "E2MAN", Status: "unknown", Ip: "10.1.1.1", Port: 0, TxMessages: []string{"X2Setup"}, RxMessages: []string{"Reset", "UEContextRelease"}}}}, @@ -48,7 +52,7 @@ var ValidEndpoints = []rtmgr.Endpoint{ } var ValidRicComponents = rtmgr.RicComponents{ - *ValidXapps, *ValidPlatformComponents, + XApps: *ValidXApps, Pcs: *ValidPlatformComponents, } var ValidPolicies = &[]string{"", ""}