AETHER-3162 Remove magma leftover iptables rule from enodebd

AETHER-3198 Add REUSE compliant to enodebd
AETHER-3196 Support identify IP from X-Real IP in enodebd
AETHER-3229 Documentation of configuration and state machine for enodebd
AETHER-3292 Adding new parameter to support in enodebd Sercomm driver
AETHER-3311 Remove unused protobuf definition from enodebd

Change-Id: Ie69f0141eff70cb3d4447cd9575c8224d42dd5e3
diff --git a/magma_configs/acs_common.yml b/magma_configs/acs_common.yml
index 28f630b..f757526 100644
--- a/magma_configs/acs_common.yml
+++ b/magma_configs/acs_common.yml
@@ -1,3 +1,8 @@
+# SPDX-FileCopyrightText: 2020 The Magma Authors.
+# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
 bandwidthMhz: 100
 specialSubframePattern: 7
 earfcndl: 44490
diff --git a/magma_configs/control_proxy.yml b/magma_configs/control_proxy.yml
index f245362..009c3b9 100644
--- a/magma_configs/control_proxy.yml
+++ b/magma_configs/control_proxy.yml
@@ -1,15 +1,7 @@
----
+# SPDX-FileCopyrightText: 2020 The Magma Authors.
+# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
 #
-# Copyright 2020 The Magma Authors.
-
-# This source code is licensed under the BSD-style license found in the
-# LICENSE file in the root directory of this source tree.
-
-# 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.
+# SPDX-License-Identifier: BSD-3-Clause
 
 # nghttpx config will be generated here and used
 nghttpx_config_location: /var/tmp/nghttpx.conf
diff --git a/magma_configs/enodebd.yml b/magma_configs/enodebd.yml.example
similarity index 66%
rename from magma_configs/enodebd.yml
rename to magma_configs/enodebd.yml.example
index 346a6ed..03ee2b4 100644
--- a/magma_configs/enodebd.yml
+++ b/magma_configs/enodebd.yml.example
@@ -1,15 +1,8 @@
----
+# SPDX-FileCopyrightText: 2020 The Magma Authors.
+# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
 #
-# Copyright 2020 The Magma Authors.
+# SPDX-License-Identifier: BSD-3-Clause
 
-# This source code is licensed under the BSD-style license found in the
-# LICENSE file in the root directory of this source tree.
-
-# 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.
 #
 # log_level is set in mconfig. It can be overridden here
 
@@ -18,12 +11,12 @@
   port: 8000
 
 tr069:
-  interface: eth0 # NOTE: this value must be consistent with dnsmasq.conf
+  interface: enp6s18 # NOTE: this value must be consistent with dnsmasq.conf
   port: 48080
   perf_mgmt_port: 8081
   # NOTE: this is the IP which enodeb will communicate with enodebd
   #       if this is ever changed in dnsd.yml, this needs to be updated too
-  public_ip: 18.116.99.179
+  public_ip: 127.0.0.1
 
 ssl:
   key: "./enodebd.key"
diff --git a/magma_configs/magmad.yml b/magma_configs/magmad.yml
index ecbafc4..0f92ab5 100644
--- a/magma_configs/magmad.yml
+++ b/magma_configs/magmad.yml
@@ -1,16 +1,8 @@
----
-################################################################################
-# Copyright 2020 The Magma Authors.
+# SPDX-FileCopyrightText: 2020 The Magma Authors.
+# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
+#
+# SPDX-License-Identifier: BSD-3-Clause
 
-# This source code is licensed under the BSD-style license found in the
-# LICENSE file in the root directory of this source tree.
-
-# 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.
-################################################################################
 
 # log_level is set in mconfig. it can be overridden here
 
diff --git a/magma_configs/serial_number/2009CW5000019.yml b/magma_configs/serial_number/2009CW5000019.yml
deleted file mode 100644
index 140781f..0000000
--- a/magma_configs/serial_number/2009CW5000019.yml
+++ /dev/null
@@ -1,60 +0,0 @@
-bandwidthMhz: 100
-specialSubframePattern: 7
-earfcndl: 44490
-plmnidList: "305010"
-pci: "100,101"
-allowEnodebTransmit: False
-subframeAssignment: 2
-cell_id: 1
-mme_address: 172.21.143.206
-mme_port: 36412
-
-cell:
-  DL bandwidth: 100
-  UL bandwidth: 100
-  Admin state: 0
-  Periodic inform interval: 180
-  Perf mgmt enable: 0
-  Perf mgmt upload interval: 900
-  enable_cwmp: True
-  tac: 501
-  tac2: 501
-  # RRM / CA
-  earfcndl1: 55440
-  earfcnul1: 55440
-  earfcndl2: 55640
-  earfcnul2: 55640
-  earfcndl_list: "55440,55640"
-  earfcnul_list: "55440,55640"
-  carrier_agg_enable: False
-  carrier_number: 2
-  contiguous_cc: 0
-  prim_source: "FREE_RUNNING"
-  # RF
-  freq_band_1: 48
-  freq_band_2: 48
-  freq_band_list: "48,48"
-  tx_power: 20
-  tunnel_type: "Device.IP.Interface.1.IPv4Address.1."
-
-sas:
-  sas_enabled: True
-  sas_cpi_enable: True
-  sas_manufacturer_prefix_enable: True
-  sas_server_url: "https://sas.goog/v1.2/"
-  sas_uid: "aether"
-  sas_category: "A"
-  sas_channel_type: "GAA"
-  sas_cert_subject: "/C=TW/O=Sercomm/OU=WInnForum CBSD Certificate/CN=P27-SCE4255W:2009CW5000019"
-  sas_location: "indoor"
-  sas_height_type: "AGL"
-  sas_fccid: "P27-SCE4255W"
-  sas_measure_capability: "RECEIVED_POWER_WITHOUT_GRANT"
-  sas_cpi_name: "onf-cpi"
-  sas_cpi_id: "GOOG-999999"
-
-  sas_antenna_azimuth: 0
-  sas_antenna_downtilt: 0
-  sas_antenna_gain: 5
-  sas_antenna_beamwidth: 360
-  sas_cpi_signature_data: "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJmY2NJZCI6IlAyNy1TQ0U0MjU1VyIsImNic2RTZXJpYWxOdW1iZXIiOiJTZXJjb21tLTIwMDlDVzUwMDAwMTkiLCJpbnN0YWxsYXRpb25QYXJhbSI6eyJsYXRpdHVkZSI6MzIuMzQ0NzUyLCJsb25naXR1ZGUiOi0xMTEuMDEyMzAyLCJoZWlnaHQiOjEsImhlaWdodFR5cGUiOiJBR0wiLCJpbmRvb3JEZXBsb3ltZW50Ijp0cnVlLCJhbnRlbm5hQXppbXV0aCI6MCwiYW50ZW5uYURvd250aWx0IjowLCJhbnRlbm5hR2FpbiI6NSwiYW50ZW5uYUJlYW13aWR0aCI6MzYwLCJob3Jpem9udGFsQWNjdXJhY3kiOjMsInZlcnRpY2FsQWNjdXJhY3kiOjMsImVpcnBDYXBhYmlsaXR5IjoyOH0sInByb2Zlc3Npb25hbEluc3RhbGxlckRhdGEiOnsiY3BpSWQiOiJHT09HLTAwMTIxMiIsImNwaU5hbWUiOiJXZWktWXUgQ2hlbiIsImluc3RhbGxDZXJ0aWZpY2F0aW9uVGltZSI6IjIwMjEtMDktMDlUMDA6MDA6MDBaIn19.ljSE95LcLwKXDgrFIX43M4BUTfmkl62KQvt0TNnsZh2SUgpw0ALQCEuSzh7KHRPOvVT5F8JjsKQeeewXSrHSLXPuPwCcxwYGDrwAp_SMiXJu7-ihL-ww_qOsZ-nu1W8alMe8oyxFiEYDN0957PBr9YP-Mj8uptVJ9VKJjf1bawzx0wihwXhTtioNMmvEO_zltD83BK14kaLM0aAcstgjHjNT7tIBE-0O3QGuN8o7jdGHxy9y7FUCPSmih2B5iu2ygVALGzYglnFebK873pp3mjKPh7XO776OjkNgYHHk5uCqf4JOf03z39Cn-CQVSnZTx-1LHV-mYJnhF4yk2R_chg"
diff --git a/magma_configs/service_registry.yml b/magma_configs/service_registry.yml
index 83735cc..dabcc9e 100644
--- a/magma_configs/service_registry.yml
+++ b/magma_configs/service_registry.yml
@@ -1,3 +1,8 @@
+# SPDX-FileCopyrightText: 2020 The Magma Authors.
+# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
 ---
 services:
   # NOTE: do NOT include dash(-) in your service name. Use underscore instead.