summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAchintk1491 <achintk1491@gmail.com>2024-12-03 15:21:07 +0100
committerAchintk1491 <achintk1491@gmail.com>2024-12-12 07:38:10 +0100
commit25fde2483b8e4af65fcd52491642a7bbda9f9a93 (patch)
treeda7d23af48e76cc057bf44b27fae57ac149e753b
parentMerge pull request #60917 from zdover23/wip-doc-2024-12-03-rados-ops-health-c... (diff)
downloadceph-25fde2483b8e4af65fcd52491642a7bbda9f9a93.tar.xz
ceph-25fde2483b8e4af65fcd52491642a7bbda9f9a93.zip
mgr/dashboard: added ports in administration table
Fixes: https://tracker.ceph.com/issues/69111 Signed-off-by: Achint Kaur <ackaur@redhat.com>
-rw-r--r--src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts
index 40c2e95d1e0..a07dcfcdd35 100644
--- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts
+++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts
@@ -29,6 +29,7 @@ import { PlacementPipe } from './placement.pipe';
import { ServiceFormComponent } from './service-form/service-form.component';
import { SettingsService } from '~/app/shared/api/settings.service';
import { ModalCdsService } from '~/app/shared/services/modal-cds.service';
+import { CellTemplate } from '~/app/shared/enum/cell-template.enum';
const BASE_URL = 'services';
@@ -176,6 +177,16 @@ export class ServicesComponent extends ListWithDetails implements OnChanges, OnI
prop: 'status.last_refresh',
pipe: this.relativeDatePipe,
flexGrow: 1
+ },
+ {
+ name: $localize`Ports`,
+ prop: 'status.ports',
+ flexGrow: 1,
+ cellTransformation: CellTemplate.map,
+ customTemplateConfig: {
+ undefined: '-',
+ '': '-'
+ }
}
];