blob: 7a75fde43800aad7d319f86f9563f7efab14a5bd [file] [log] [blame]
Boyuan Yan6b23b382019-06-04 11:59:35 -07001/*
2 * Copyright 2019-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17import { NgModule } from '@angular/core';
18import { CommonModule } from '@angular/common';
Sean Condon98b6ddb2019-12-24 08:07:40 +000019import {RouterModule} from '@angular/router';
20import { Gui2FwLibModule } from '../../../../../web/gui2-fw-lib/public_api';
Boyuan Yan6b23b382019-06-04 11:59:35 -070021import { RoadmDeviceComponent } from './roadm/roadm.component';
Boyuan Yan6b23b382019-06-04 11:59:35 -070022import { FormsModule, ReactiveFormsModule } from '@angular/forms';
23import { RoadmPortComponent } from './port/port.component';
24
25@NgModule({
26 declarations: [
27 RoadmDeviceComponent,
28 RoadmPortComponent,
29 ],
30 imports: [
Sean Condon98b6ddb2019-12-24 08:07:40 +000031 RouterModule,
32 RouterModule.forChild([{path: 'roadm-port-gui', component: RoadmPortComponent}]),
Boyuan Yan6b23b382019-06-04 11:59:35 -070033 Gui2FwLibModule,
34 CommonModule,
35 FormsModule,
36 ReactiveFormsModule
37 ],
38 exports: [
39 RoadmDeviceComponent,
40 RoadmPortComponent,
41 ]
42})
43export class RoadmGuiLibModule { }