Fix license header violations in bgpmanager 01/24901/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 7 Aug 2015 04:22:18 +0000 (00:22 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 7 Aug 2015 04:44:47 +0000 (00:44 -0400)
Change-Id: Ic18e079e767a705b1e59d37b09cfa9fcd1ae45a4
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
bgpmanager/bgpmanager-api/src/main/java/org.opendaylight.bgpmanager.api/IBgpManager.java
bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/FibDSWriter.java
bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/globals/BgpConstants.java
bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/client/globals/Route.java
bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/client/implementation/BgpRouter.java
bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/client/implementation/BgpSyncHandle.java
bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/common/Constants.java
bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/exceptions/BgpRouterException.java
bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/server/implementation/BgpThriftService.java
bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/server/implementation/BgpUpdateHandler.java

index bf7153e10ebb620a978a4e8801159d52b530f412..a95c198ed42e69cf15650b57787f0a87b83cbec4 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.bgpmanager.api;
 
 import java.util.Collection;
index d9ecf4c84eb1e12f40f4bf3ca30bae84ee897f44..053e88e1ec9610e6bf5ec1aa339aee1d204e9674 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.bgpmanager;
 
 import com.google.common.util.concurrent.Futures;
index 396ed8b7d2c608c40d74a4c7fe2d34fca509c08d..84fc680df57c227fdff14df2cae3b1cf061bbea6 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.bgpmanager.globals;
 
 
index af75428e289f44e59192f8def31b925a529bdc9c..4251f46b7097d2c02941eaa0eebbb8cafdaeb24e 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.bgpmanager.thrift.client.globals;
 
 
index 93c92f87ad2e5ba911747da2815469ee3d2f8516..208570d663edf45b61b5aa453a9942d497699e33 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.bgpmanager.thrift.client.implementation;
 
 import org.apache.thrift.TException;
index 5c0eb4238c2dc7a6a3e75982706eb239f83bb32e..da642576ae9fbe756fb284ef2dbd5bf8a4884429 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
 
 package org.opendaylight.bgpmanager.thrift.client.implementation;
 
@@ -22,7 +29,7 @@ public class BgpSyncHandle {
     public static final int DEFAULT_TCP_SOCK_SZ = 87380;    //default receive buffer size on linux > 2.4
 
     private BgpSyncHandle() {
-        more = 1; 
+        more = 1;
         state = NEVER_DONE;
     }
 
@@ -58,8 +65,8 @@ public class BgpSyncHandle {
        //size of one update structure on the wire. ideally
        //this should be computed; or thrift sure has a nice
        //way to tell this to the applciation, but for the
-       //moment, we just use 8 bytes more than the size of 
-       //the C struct. 
+       //moment, we just use 8 bytes more than the size of
+       //the C struct.
 
        return 96;
     }
@@ -77,5 +84,5 @@ public class BgpSyncHandle {
     }
 }
 
-        
-  
+
+
index 25dee2f08bbe4c33467ef43dc496ae097da2e0bd..86b49febea31a0ef88f0e7525e441305665f1d25 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.bgpmanager.thrift.common;
 
 
index 405dc3d8d8be7657ed6fedd93d3806040122c6e3..ee91b116716bf9bac0d68598429a27ccd0192fa4 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.bgpmanager.thrift.exceptions;
 
 public class BgpRouterException extends Exception {
@@ -21,6 +29,6 @@ public class BgpRouterException extends Exception {
     public int getErrorCode() {
         return errcode;
     }
-    
+
     private int errcode;
 }
index 921c9cf96217643c340dd9b0f6826e5c4d2632fd..cf42d69454f448b83b8e391c85efcb9f2fe7169c 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.bgpmanager.thrift.server.implementation;
 
 import org.apache.thrift.server.THsHaServer;
@@ -13,9 +21,9 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 public class BgpThriftService {
-       
+
        private static final Logger LOGGER = LoggerFactory.getLogger(BgpThriftService.class);
-       
+
        private int port;
        private int maxWorkerThreads;
        private int minWorkerThreads;
@@ -23,7 +31,7 @@ public class BgpThriftService {
     private TServer server;
        private BgpUpdateHandler notificationHandler;
        private BgpManager bgpManager;
-    
+
     public BgpThriftService(BgpManager bgpMgr, FibDSWriter dsWriter) {
        bgpManager = bgpMgr;
                notificationHandler = new BgpUpdateHandler(bgpManager, dsWriter);
@@ -34,7 +42,7 @@ public class BgpThriftService {
                LOGGER.debug("BGP Thrift Server starting...");
                startBgpThriftServer();
        }
-       
+
        public void stop() {
                LOGGER.debug("BGP Thrift Server stopping...");
                stopBgpThriftServer();
@@ -49,7 +57,7 @@ public class BgpThriftService {
 
     /**
      * Loading the parameters required for a connection
-     * 
+     *
      */
     private void loadParameters() {
         port = Integer.getInteger(Constants.PROP_BGP_THRIFT_PORT, Constants.BGP_SERVICE_PORT);
@@ -71,14 +79,14 @@ public class BgpThriftService {
             if (serverTransport != null) {
                 serverTransport.close();
             }
-            
+
             server.stop();
                        LOGGER.info("BGP Thrift Server stopped");
         } catch (Exception e) {
             LOGGER.error("Error while stopping the server - {} {}", getClass().getName(), e.getMessage());
         }
        }
-       
+
        private class ThriftRunnable implements Runnable {
                @Override
                public void run() {
@@ -98,7 +106,7 @@ public class BgpThriftService {
                        .maxWorkerThreads(maxWorkerThreads).minWorkerThreads(minWorkerThreads)
                        .processor(new BgpUpdater.Processor<BgpUpdateHandler>(notificationHandler)));
                        server.serve();
-               }               
+               }
        }
 
 }
index bf7b33bbd49bdc2039ccca25fd4b5c8acf646c55..bd650ffe1106ad154e93a44d26414baf74d43c71 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. 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
+ */
+
 package org.opendaylight.bgpmanager.thrift.server.implementation;
 
 import org.opendaylight.bgpmanager.BgpManager;