]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.ts
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / configuration / configuration-details / configuration-details.component.ts
1 import { Component, Input, OnChanges } from '@angular/core';
2
3 import _ from 'lodash';
4
5 @Component({
6 selector: 'cd-configuration-details',
7 templateUrl: './configuration-details.component.html',
8 styleUrls: ['./configuration-details.component.scss']
9 })
10 export class ConfigurationDetailsComponent implements OnChanges {
11 @Input()
12 selection: any;
13 flags = {
14 runtime: $localize`The value can be updated at runtime.`,
15 no_mon_update: $localize`Daemons/clients do not pull this value from the
16 monitor config database. We disallow setting this option via 'ceph config
17 set ...'. This option should be configured via ceph.conf or via the
18 command line.`,
19 startup: $localize`Option takes effect only during daemon startup.`,
20 cluster_create: $localize`Option only affects cluster creation.`,
21 create: $localize`Option only affects daemon creation.`
22 };
23
24 ngOnChanges() {
25 if (this.selection) {
26 this.selection.services = _.split(this.selection.services, ',');
27 }
28 }
29 }