Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 1 | /* |
Bhavesh | 72ead49 | 2018-07-19 16:29:18 +0530 | [diff] [blame^] | 2 | * Copyright 2018-present Open Networking Foundation |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 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 | import { NgModule } from '@angular/core'; |
| 17 | import { CommonModule } from '@angular/common'; |
Sean Condon | a00bf38 | 2018-06-23 07:54:01 +0100 | [diff] [blame] | 18 | import { DeviceRoutingModule } from './device-routing.module'; |
Bhavesh | 72ead49 | 2018-07-19 16:29:18 +0530 | [diff] [blame^] | 19 | import { DeviceComponent } from './device/device.component'; |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 20 | import { SvgModule } from '../../fw/svg/svg.module'; |
Bhavesh | 72ead49 | 2018-07-19 16:29:18 +0530 | [diff] [blame^] | 21 | import { WidgetModule } from '../../fw/widget/widget.module'; |
| 22 | import { FormsModule } from '@angular/forms'; |
| 23 | import { DeviceDetailsComponent } from './devicedetails/devicedetails.component'; |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 24 | |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 25 | /** |
| 26 | * ONOS GUI -- Device View Module |
| 27 | */ |
| 28 | @NgModule({ |
Bhavesh | 72ead49 | 2018-07-19 16:29:18 +0530 | [diff] [blame^] | 29 | imports: [ |
| 30 | CommonModule, |
| 31 | DeviceRoutingModule, |
| 32 | SvgModule, |
| 33 | WidgetModule, |
| 34 | FormsModule |
| 35 | ], |
| 36 | declarations: [ |
| 37 | DeviceComponent, |
| 38 | DeviceDetailsComponent |
| 39 | ] |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 40 | }) |
| 41 | export class DeviceModule { } |