7e65fba52f
* Adds Introspection status info to NodesListView * Adds IronicInspectorApiService to handle Inspector API calls * Adds fetching introspection statuses to fetchNodes action * Improves fetchNodes action performance by running all API calls in paralel * Adds option to filter Nodes by introspection status Change-Id: I22859e25017d73494a3bbaf7af1ac17e9e41169e
24 lines
883 B
JavaScript
24 lines
883 B
JavaScript
/**
|
|
* Copyright 2017 Red Hat Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
* not use this file except in compliance with the License. You may obtain
|
|
* a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, 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.
|
|
*/
|
|
|
|
import { Schema } from 'normalizr';
|
|
|
|
export const nodeSchema = new Schema('nodes', { idAttribute: 'uuid' });
|
|
export const portSchema = new Schema('ports', { idAttribute: 'uuid' });
|
|
export const introspectionStatusSchema = new Schema('introspectionStatuses', {
|
|
idAttribute: 'uuid'
|
|
});
|