From 70e243d1c48f9554bd4e28e80f7ff766db6fe857 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 10 Jun 2016 07:36:43 +0200 Subject: HONEYCOMB-7: Remove VBD form HC VBD is now subproject of ODL: https://git.opendaylight.org/gerrit/#/admin/projects/honeycomb/vbd Change-Id: I1bf01a01cca50fe5e3f4f82a53c6b15ec5c7091d Signed-off-by: Marek Gradzki --- .../resources/vpp/controllers/vpp.controller.js | 64 ---------------------- 1 file changed, 64 deletions(-) delete mode 100644 vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js (limited to 'vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js') diff --git a/vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js b/vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js deleted file mode 100644 index 5bd2c955e..000000000 --- a/vbd/gui/module/src/main/resources/vpp/controllers/vpp.controller.js +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -var modules = [ - // module - 'app/vpp/vpp.module', - // services - 'app/vpp/services/vpp.services', - 'app/vpp/services/inventory.service', - 'app/vpp/services/bdm.service', - 'app/vpp/services/bdm.bridgedomain.service', - 'app/vpp/services/bdm.interface.service', - 'app/vpp/services/bdm.vpp.service', - 'app/vpp/services/bdm.tunnel.service', - //controllers - 'app/vpp/controllers/inventory.controller', - 'app/vpp/controllers/bdm.controller', - 'app/vpp/controllers/bdm.bridgedomain.controller', - 'app/vpp/controllers/bdm.vpp.controller', - 'app/vpp/controllers/bdm.interface.controller' -]; - - -define(modules, function(vpp) { - - vpp.controller('vppCtrl', ['$scope', '$rootScope', '$timeout', 'toastService', '$mdSidenav', '$mdDialog', - function ($scope, $rootScope, $timeout, toastService, $mdSidenav, $mdDialog) { - - $rootScope['section_logo'] = 'src/app/vpp/assets/images/vpp.gif'; - $scope.view_path = 'src/app/vpp/views/'; - - $scope.mainView = "inventory"; - $scope.selectedVpp = null; - - $scope.setMainView = function(viewName) { - $scope.mainView = viewName; - }; - - $scope.selectVpp = function(vpp) { - $scope.selectedVpp = vpp; - $scope.$broadcast('RELOAD_SELECTED_VPP'); - }; - - // filter used in inventory to filter interfaceList of vxlan_tunnel interfaces - $scope.filterRemoveVxlanIf = function (item) { - return (item.name && item.name.indexOf('vxlan') !== 0) || (item['tp-id'] && item['tp-id'].indexOf('vxlan') !== 0); - }; - - // filter used in inventory to return vxlan_tunnel interfaces - $scope.filterGetVxlanIf = function (item) { - return (item.name && item.name.indexOf('vxlan') === 0) || (item['tp-id'] && item['tp-id'].indexOf('vxlan') === 0); - }; - - }]); - - -}); - - -- cgit 1.2.3-korg