VOL-2197: Change license on OpenOLT agent to Apache 2.0
Change-Id: I7e6daff59723d6564044e61e93cad1bf03f4661b
diff --git a/agent/common/core.h b/agent/common/core.h
index 26f1dac..bfb6c9b 100644
--- a/agent/common/core.h
+++ b/agent/common/core.h
@@ -1,19 +1,18 @@
/*
- Copyright (C) 2018 Open Networking Foundation
+ * Copyright 2018-present Open Networking Foundation
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+ * 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
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ * http://www.apache.org/licenses/LICENSE-2.0
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ * 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.
+ */
#ifndef OPENOLT_CORE_H_
#define OPENOLT_CORE_H_
diff --git a/agent/common/main.cc b/agent/common/main.cc
index 49caf5a..a18db3c 100644
--- a/agent/common/main.cc
+++ b/agent/common/main.cc
@@ -1,19 +1,19 @@
/*
- Copyright (C) 2018 Open Networking Foundation
+ * Copyright 2018-present Open Networking Foundation
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+ * 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
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ * http://www.apache.org/licenses/LICENSE-2.0
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ * 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.
+ */
+
#include <iostream>
#include <unistd.h>
diff --git a/agent/common/server.cc b/agent/common/server.cc
index 10ae4fa..9e1eb86 100644
--- a/agent/common/server.cc
+++ b/agent/common/server.cc
@@ -1,19 +1,18 @@
/*
- Copyright (C) 2018 Open Networking Foundation
+ * Copyright 2018-present Open Networking Foundation
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+ * 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
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ * http://www.apache.org/licenses/LICENSE-2.0
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ * 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.
+ */
#include <iostream>
#include <memory>
diff --git a/agent/common/server.h b/agent/common/server.h
index 52ef083..2238287 100644
--- a/agent/common/server.h
+++ b/agent/common/server.h
@@ -1,19 +1,18 @@
/*
- Copyright (C) 2018 Open Networking Foundation
+ * Copyright 2018-present Open Networking Foundation
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+ * 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
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ * http://www.apache.org/licenses/LICENSE-2.0
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ * 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.
+ */
#ifndef OPENOLT_SERVER_H_
#define OPENOLT_SERVER_H_
diff --git a/agent/common/state.h b/agent/common/state.h
index 3573c4b..6092aa8 100644
--- a/agent/common/state.h
+++ b/agent/common/state.h
@@ -1,19 +1,18 @@
/*
- Copyright (C) 2018 Open Networking Foundation
+ * Copyright 2018-present Open Networking Foundation
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+ * 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
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
+ * http://www.apache.org/licenses/LICENSE-2.0
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ * 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.
+ */
#ifndef OPENOLT_STATE_H_
#define OPENOLT_STATE_H_