diff --git a/src/elements/dv-elements/admin/views/selection-unit-view.html b/src/elements/dv-elements/admin/views/selection-unit-view.html index 5eaa313..caf9f84 100644 --- a/src/elements/dv-elements/admin/views/selection-unit-view.html +++ b/src/elements/dv-elements/admin/views/selection-unit-view.html @@ -141,9 +141,15 @@ grid-template-columns: 1fr 2fr 25%; } - #selection-panel { + #selection-panel-1 { display: grid; - grid-template-columns: repeat(6, 1fr); + grid-template-columns: repeat(2, 1fr); + grid-column-gap: 5px; + } + + #selection-panel-2 { + display: grid; + grid-template-columns: repeat(7, 1fr); grid-column-gap: 5px; } @@ -320,9 +326,13 @@ Simulated I/O Selection -
- +
+ + +
+
WRITE CACHE P2P - ANY - + + - + +

@@ -385,38 +398,51 @@ static get properties() { return { - linkgroup: { + iomode: { + type: Number, + value: 0, + notify: true + }, + + pnfsId: { type: String, notify: true }, - iomode: { - type: Number, - value: 0, + path: { + type: String, notify: true }, - store: { + storageClass: { type: String, - value: '*', notify: true }, - dcache: { + hsm: { + type: String, + notify: true + }, + + cacheClass: { + type: String, + notify: true + }, + + linkgroup: { type: String, - value: '*', notify: true }, net: { type: String, - value: '::0', + value: '*', notify: true }, protocol: { type: String, - value: '*/*', + value: '*', notify: true }, @@ -624,11 +650,9 @@ case 1: return "WRITE"; case 2: - return "P2P"; - case 3: return "CACHE"; - case 4: - return "ANY"; + case 3: + return "P2P"; default: return "READ"; } @@ -647,21 +671,34 @@ _handleMatchQuery() { const params = []; - if (this.linkgroup) { - params.push(`linkGroup=${this.linkgroup}`); + const ioDirection = this._getIOMode(); + + if (ioDirection) { + params.push(`ioDirection=${ioDirection}`); + } + + if (this.pnfsId) { + params.push(`pnfsId=${this.pnfsId}`); } - const type = this._getIOMode(); - if (type) { - params.push(`type=${type}`); + if (this.path) { + params.push(`path=${this.path}`); } - if (this.store) { - params.push(`store=${this.store}`); + if (this.storageClass) { + params.push(`storageClass=${this.storageClass}`); } - if (this.dcache) { - params.push(`dcache=${this.dcache}`); + if (this.hsm) { + params.push(`hsm=${this.hsm}`); + } + + if (this.cacheClass) { + params.push(`cacheClass=${this.dcache}`); + } + + if (this.linkgroup) { + params.push(`linkGroup=${this.linkgroup}`); } if (this.net) {