[ONOS-7995] upgrade roadm custom view from GUI to GUI2
1. [Finished] Optical-related device view
2. [Finished] Port view
3. [Finished] Power config on Port view (Private implementation)
4. [Finished] Protocol view for TAPI device
Change-Id: Ie9b81cfa9991a7af2dd485a5df3fe582df830d27
Signed-off-by: Boyuan Yan <boyuan@opennetworking.org>
diff --git a/apps/roadm/web/roadm-gui/projects/roadm-gui-lib/src/lib/roadm-gui-lib.module.ts b/apps/roadm/web/roadm-gui/projects/roadm-gui-lib/src/lib/roadm-gui-lib.module.ts
new file mode 100644
index 0000000..1296ce2
--- /dev/null
+++ b/apps/roadm/web/roadm-gui/projects/roadm-gui-lib/src/lib/roadm-gui-lib.module.ts
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2019-present Open Networking Foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+import { Gui2FwLibModule } from 'gui2-fw-lib';
+import { RoadmDeviceComponent } from './roadm/roadm.component';
+import { RoadmRoutingModule } from './roadm-routing.module';
+import { FormsModule, ReactiveFormsModule } from '@angular/forms';
+import { RoadmPortComponent } from './port/port.component';
+
+@NgModule({
+ declarations: [
+ RoadmDeviceComponent,
+ RoadmPortComponent,
+ ],
+ imports: [
+ RoadmRoutingModule,
+ Gui2FwLibModule,
+ CommonModule,
+ FormsModule,
+ ReactiveFormsModule
+ ],
+ exports: [
+ RoadmDeviceComponent,
+ RoadmPortComponent,
+ ]
+})
+export class RoadmGuiLibModule { }