X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Finterfaces%2Fe2-mgr.types.ts;h=4f2cb4a5bd4aa37825b792b1bf579b8fb982ed95;hb=42c6891f45dce060347b3637e72daac370fbce29;hp=70256d2fcbd9d8b79533dd7b210332d3a2d27db0;hpb=a4c7cdd075d372de0ab352abc46359d88a570d90;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/interfaces/e2-mgr.types.ts b/webapp-frontend/src/app/interfaces/e2-mgr.types.ts index 70256d2f..4f2cb4a5 100644 --- a/webapp-frontend/src/app/interfaces/e2-mgr.types.ts +++ b/webapp-frontend/src/app/interfaces/e2-mgr.types.ts @@ -23,10 +23,44 @@ export interface E2SetupRequest { ranName: string; ranIp: string; - ranPort: number; + ranPort: string; } export interface E2ErrorResponse { errorCode: string; errorMessage: string; } + +export interface E2NodebIdentityGlobalNbId { + nbId: string; + plmnId: string; +} + +export interface E2NodebIdentity { + inventoryName: string; + globalNbId: E2NodebIdentityGlobalNbId; +} + +export interface E2GetNodebResponse { + connectionStatus: string; // actually one-of, but model as string + enb: object; // don't model this until needed + failureType: string; // actually one-of, but model as string + gnb: object; // don't model this until needed + ip: string; + nodeType: string; // actually one-of, but model as string + port: number; // actually integer + ranName: string; + setupFailure: object; // don't model this until needed +} + +export interface E2RanDetails { + nodebIdentity: E2NodebIdentity; + nodebStatus: E2GetNodebResponse; +} + +export interface RanDialogFormData { + ranIp: string; + ranName: string; + ranPort: string; + ranType: string; +}