Skip to content

Commit

Permalink
Address license reference for included library and written files
Browse files Browse the repository at this point in the history
  • Loading branch information
lfu-ps committed Sep 10, 2021
1 parent 105aaf6 commit 489db61
Show file tree
Hide file tree
Showing 31 changed files with 468 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ This main repository of Alcor Control Agent is organized as follows:

## Notes
* ovs_control.h and ovs_control.cpp is based on https://github.com/openvswitch/ovs/blob/master/utilities/ovs-ofctl.c
* libfluid-base/*.h(*.cpp) and libfluid-msg/*.h(*.cpp) are based on https://github.com/OpenNetworkingFoundation/libfluid, the usage of derived class is based on https://github.com/OpenNetworkingFoundation/libfluid/tree/master/examples/controller
* aca_grpc.cpp is based on https://github.com/grpc/grpc/blob/v1.30.0/examples/cpp/route_guide/route_guide_server.cc
* HashMap.h and HashNode.h is based on https://github.com/kshk123/hashMap
15 changes: 15 additions & 0 deletions include/libfluid-base/OFClient.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#pragma once

#include "base/BaseOFConnection.hh"
Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-base/OFConnection.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

/** @file */
#ifndef __OFCONNECTION_HH__
#define __OFCONNECTION_HH__
Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-base/OFServer.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

/** @file */
#ifndef __OFSERVER_HH__
#define __OFSERVER_HH__
Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-base/OFServerSettings.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

/** @file */
#ifndef __OFSERVERSETTINGS_HH__
#define __OFSERVERSETTINGS_HH__
Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-base/TLS.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

/** @file Functions for secure communication using SSL */
#ifndef __SSL_IMPL_HH__
#define __SSL_IMPL_HH__
Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-base/base/BaseOFClient.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#pragma once

#include <pthread.h>
Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-base/base/BaseOFConnection.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

/** @file */
#ifndef __BASEOFCONNECTION_HH__
#define __BASEOFCONNECTION_HH__
Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-base/base/BaseOFServer.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

/** @file */
#ifndef __BASEOFSERVER_HH__
#define __BASEOFSERVER_HH__
Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-base/base/EventLoop.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

/** @file */
#ifndef __EVENTLOOP_HH__
#define __EVENTLOOP_HH__
Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-msg/of10/of10action.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#ifndef OF10ACTION_H
#define OF10ACTION_H

Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-msg/of10/of10common.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#ifndef OF10OPENFLOW_COMMON_H
#define OF10OPENFLOW_COMMON_H 1

Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-msg/of10/of10match.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#ifndef OF10OPENFLOW_MATCH_H
#define OF10OPENFLOW_MATCH_H 1

Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-msg/of10msg.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#ifndef OF10MSG_H
#define OF10MSG_H 1

Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-msg/of13/of13action.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#ifndef OF13ACTION_H
#define OF13ACTION_H

Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-msg/of13/of13common.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#ifndef OF13OPENFLOW_COMMON_H
#define OF13OPENFLOW_COMMON_H 1

Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-msg/of13/of13instruction.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#ifndef OPENFLOW_INSTRUCTION_H
#define OPENFLOW_INSTRUCTION_H

Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-msg/of13/of13match.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#ifndef OPENFLOW_MATCH_H
#define OPENFLOW_MATCH_H 1

Expand Down
15 changes: 15 additions & 0 deletions include/libfluid-msg/of13/of13meter.hh
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
// Copyright (c) 2014 Open Networking Foundation
// Copyright 2021 The Alcor Authors
//
// 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.

#ifndef OPENFLOW_METER_H
#define OPENFLOW_METER_H

Expand Down
36 changes: 36 additions & 0 deletions include/libfluid-msg/of13/openflow-13.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
/* Copyright (c) 2008 The Board of Trustees of The Leland Stanford
* Junior University
* Copyright (c) 2011, 2012 Open Networking Foundation
*
* We are making the OpenFlow specification and associated documentation
* (Software) available for public use and benefit with the expectation
* that others will use, modify and enhance the Software and contribute
* those enhancements back to the community. However, since we would
* like to make the Software available for broadest use, with as few
* restrictions as possible permission is hereby granted, free of
* charge, to any person obtaining a copy of this Software to deal in
* the Software under the copyrights without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* The name and trademarks of copyright holder(s) may NOT be used in
* advertising or publicity pertaining to the Software or any
* derivatives without specific, written prior permission.
*/

/* OpenFlow: protocol between controller and datapath. */

#ifndef OPENFLOW_OPENFLOW13_H
#define OPENFLOW_OPENFLOW13_H 1

Expand Down
Loading

0 comments on commit 489db61

Please sign in to comment.