Sean Condon | f4f54a1 | 2018-10-10 23:25:46 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2018-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 | import { NgModule } from '@angular/core'; |
| 17 | import { CommonModule } from '@angular/common'; |
| 18 | import { TopologyRoutingModule } from './topology-routing.module'; |
| 19 | import { TopologyComponent } from './topology/topology.component'; |
| 20 | import { NoDeviceConnectedSvgComponent } from './layer/nodeviceconnectedsvg/nodeviceconnectedsvg.component'; |
| 21 | import { LayoutComponent } from './layer/layout/layout.component'; |
Sean Condon | f4f54a1 | 2018-10-10 23:25:46 +0100 | [diff] [blame] | 22 | import { InstanceComponent } from './panel/instance/instance.component'; |
| 23 | import { SummaryComponent } from './panel/summary/summary.component'; |
| 24 | import { ToolbarComponent } from './panel/toolbar/toolbar.component'; |
| 25 | import { DetailsComponent } from './panel/details/details.component'; |
| 26 | import { Gui2FwLibModule } from 'gui2-fw-lib'; |
| 27 | import { BackgroundSvgComponent } from './layer/backgroundsvg/backgroundsvg.component'; |
| 28 | import { ForceSvgComponent } from './layer/forcesvg/forcesvg.component'; |
| 29 | import { MapSvgComponent } from './layer/mapsvg/mapsvg.component'; |
Sean Condon | aa4366d | 2018-11-02 14:29:01 +0000 | [diff] [blame] | 30 | import { TopologyService } from './topology.service'; |
Sean Condon | f4f54a1 | 2018-10-10 23:25:46 +0100 | [diff] [blame] | 31 | |
| 32 | /** |
| 33 | * ONOS GUI -- Topology View Module |
| 34 | * |
| 35 | * Note: This has been updated from onos-gui-1.0.0 where it was called 'topo2' |
| 36 | * whereas here it is now called 'topology'. This also merges in the old 'topo' |
| 37 | */ |
| 38 | @NgModule({ |
| 39 | imports: [ |
| 40 | CommonModule, |
| 41 | TopologyRoutingModule, |
| 42 | Gui2FwLibModule |
| 43 | ], |
| 44 | declarations: [ |
| 45 | TopologyComponent, |
| 46 | NoDeviceConnectedSvgComponent, |
| 47 | LayoutComponent, |
Sean Condon | f4f54a1 | 2018-10-10 23:25:46 +0100 | [diff] [blame] | 48 | InstanceComponent, |
| 49 | SummaryComponent, |
| 50 | ToolbarComponent, |
| 51 | DetailsComponent, |
| 52 | BackgroundSvgComponent, |
| 53 | ForceSvgComponent, |
| 54 | MapSvgComponent |
Sean Condon | aa4366d | 2018-11-02 14:29:01 +0000 | [diff] [blame] | 55 | ], |
| 56 | providers: [ |
| 57 | TopologyService |
Sean Condon | f4f54a1 | 2018-10-10 23:25:46 +0100 | [diff] [blame] | 58 | ] |
| 59 | }) |
| 60 | export class TopologyModule { } |