blob: 9499623f9586d34534f3d80d1a87fc1bec33b315 [file] [log] [blame]
Sean Condon83fc39f2018-04-19 18:56:13 +01001/*
Bhavesh72ead492018-07-19 16:29:18 +05302 * Copyright 2018-present Open Networking Foundation
Sean Condon83fc39f2018-04-19 18:56:13 +01003 *
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 */
16import { NgModule } from '@angular/core';
17import { CommonModule } from '@angular/common';
Sean Condona3ad7792020-01-04 19:26:34 +000018import { RouterModule } from '@angular/router';
Bhavesh72ead492018-07-19 16:29:18 +053019import { DeviceComponent } from './device/device.component';
Sean Condon3dd062f2020-04-14 09:25:00 +010020import { Gui2FwLibModule } from 'org_onosproject_onos/web/gui2-fw-lib/public_api';
Bhavesh72ead492018-07-19 16:29:18 +053021import { FormsModule } from '@angular/forms';
22import { DeviceDetailsComponent } from './devicedetails/devicedetails.component';
Sean Condon2bd11b72018-06-15 08:00:48 +010023
Sean Condon83fc39f2018-04-19 18:56:13 +010024/**
25 * ONOS GUI -- Device View Module
26 */
27@NgModule({
Bhavesh72ead492018-07-19 16:29:18 +053028 imports: [
29 CommonModule,
Sean Condon98b6ddb2019-12-24 08:07:40 +000030 RouterModule.forChild([{path: '', component: DeviceComponent}]),
Sean Condon5ca00262018-09-06 17:55:25 +010031 Gui2FwLibModule,
Bhavesh72ead492018-07-19 16:29:18 +053032 FormsModule
33 ],
34 declarations: [
35 DeviceComponent,
36 DeviceDetailsComponent
37 ]
Sean Condon83fc39f2018-04-19 18:56:13 +010038})
39export class DeviceModule { }