GUI2 implementation of device/flow/port/group/meter/host/link/tunnel view
Review comments incorporated.
Change-Id: I45dd6570961cc3e0f4ffddb7acbf02cd7d860de5
diff --git a/web/gui2/src/main/webapp/app/onos-routing.module.ts b/web/gui2/src/main/webapp/app/onos-routing.module.ts
index 5d4af2b..040139b 100644
--- a/web/gui2/src/main/webapp/app/onos-routing.module.ts
+++ b/web/gui2/src/main/webapp/app/onos-routing.module.ts
@@ -22,16 +22,44 @@
*/
const onosRoutes: Routes = [
{
- path: 'apps',
+ path: 'app',
loadChildren: 'app/view/apps/apps.module#AppsModule'
},
{
- path: 'devices',
+ path: 'device',
loadChildren: 'app/view/device/device.module#DeviceModule'
},
{
+ path: 'link',
+ loadChildren: 'app/view/link/link.module#LinkModule'
+ },
+ {
+ path: 'host',
+ loadChildren: 'app/view/host/host.module#HostModule'
+ },
+ {
+ path: 'tunnel',
+ loadChildren: 'app/view/tunnel/tunnel.module#TunnelModule'
+ },
+ {
+ path: 'flow',
+ loadChildren: 'app/view/flow/flow.module#FlowModule'
+ },
+ {
+ path: 'port',
+ loadChildren: 'app/view/port/port.module#PortModule'
+ },
+ {
+ path: 'group',
+ loadChildren: 'app/view/group/group.module#GroupModule'
+ },
+ {
+ path: 'meter',
+ loadChildren: 'app/view/meter/meter.module#MeterModule'
+ },
+ {
path: '',
- redirectTo: 'devices', // Default to devices view - change to topo in future
+ redirectTo: 'device', // Default to devices view - change to topo in future
pathMatch: 'full'
}
];