3 * Copyright 2016 RIFT.IO Inc
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 import NSVirtualLinksActions
from './nsVirtualLinksActions.js';
19 import Alt
from 'widgets/skyquake_container/skyquakeAltInstance';
21 class NSVirtualLinksStore
{
49 key
: 'root-bandwidth',
50 label
: 'ROOT BANDWIDTH'
52 key
: 'leaf-bandwidth',
53 label
: 'LEAF BANDWIDTH'
56 label
: 'RESOURCE MANAGER ID'
62 key
: 'provider-network',
63 label
: 'PROVIDER NETWORK',
65 key
: 'provider-network.physical-network',
66 label
: 'PHYSICAL NETWORK'
68 key
: 'provider-network.overlay-type',
71 key
: 'provider-network.segmentation_id',
72 label
: 'SEGMENTATION ID'
81 key
: 'operational-status',
82 label
: 'OPERATIONAL STATUS'
86 transform
: (value
) => {
90 return new Date(value
);
97 key
: 'vnfr-connection-point-ref',
98 label
: 'VNF CONNECTION POINTS',
101 key
: 'vnfr-connection-point-ref',
102 label
: 'VNF Connection Point',
103 transform
: (value
) => {
104 return (value
&& (value
['vnfr-name'] + ': ' + value
['connection-point']));
108 key
: 'ip-profile-params',
109 label
: 'IP PROFILE INFO',
111 key
: 'ip-profile-params.ip-version',
114 key
: 'ip-profile-params.subnet-address',
115 label
: 'SUBNET ADDRESS'
117 key
: 'ip-profile-params.gateway-address',
118 label
: 'GATEWAY ADDRESS'
120 key
: 'ip-profile-params.security-group',
121 label
: 'SECURITY GROUP'
123 key
: 'ip-profile-params.subnet-prefix-pool',
124 label
: 'SUBNET PREFIX POOL'
126 key
: 'ip-profile-params.dns-server',
127 label
: 'DNS SERVERS',
130 key
: 'ip-profile-params.dhcp-params.enabled',
133 key
: 'ip-profile-params.dhcp-params.start-address',
134 label
: 'START ADDRESS'
136 key
: 'ip-profile-params.dhcp-params.count',
144 export default Alt
.createStore(NSVirtualLinksStore
, 'NSVirtualLinksStore');