From: maximesson Date: Fri, 20 Mar 2020 15:20:57 +0000 (+0100) Subject: Addition to the first commit X-Git-Tag: BronzeRC0~18^2 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fa1-interface.git;a=commitdiff_plain;h=3152544eac3fbf299a04438e06e0948658162089 Addition to the first commit Change-Id: Ib51cb9b558de6493c5f88650b6b508c44cad74bf Issue-ID: NONRTRIC-88 Signed-off-by: maximesson --- diff --git a/near-rt-ric-simulator/.gitignore b/near-rt-ric-simulator/.gitignore new file mode 100644 index 0000000..1fe9c87 --- /dev/null +++ b/near-rt-ric-simulator/.gitignore @@ -0,0 +1,53 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +/logs + +# compiled output +/dist +/tmp +/out-tsc + +# dependencies +/node +/node_modules + +/.classpath +/.project +/.settings +target +/.mvn/wrapper/maven-wrapper.jar +/.tox + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +/build/ + +### visual studio ### +.vs +**/.vscode + +# OSx cruft +**/.DS_Store + +# documentation +.tox +docs/_build/* diff --git a/near-rt-ric-simulator/LICENSES.txt b/near-rt-ric-simulator/LICENSES.txt new file mode 100644 index 0000000..9e98e14 --- /dev/null +++ b/near-rt-ric-simulator/LICENSES.txt @@ -0,0 +1,30 @@ +LICENSES.txt + + +Unless otherwise specified, all software contained herein is licensed +under the Apache License, Version 2.0 (the "Software License"); +you may not use this software except in compliance with the Software +License. You may obtain a copy of the Software License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the Software License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the Software License for the specific language governing permissions +and limitations under the Software License. + + +Unless otherwise specified, all documentation contained herein is licensed +under the Creative Commons License, Attribution 4.0 Intl. (the +"Documentation License"); you may not use this documentation except in +compliance with the Documentation License. You may obtain a copy of the +Documentation License at + +https://creativecommons.org/licenses/by/4.0/ + +Unless required by applicable law or agreed to in writing, documentation +distributed under the Documentation License is distributed on an "AS IS" +BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +implied. See the Documentation License for the specific language governing +permissions and limitations under the Documentation License. diff --git a/near-rt-ric-simulator/scripts/a1.py b/near-rt-ric-simulator/scripts/a1.py index 13ea7dc..006d04d 100644 --- a/near-rt-ric-simulator/scripts/a1.py +++ b/near-rt-ric-simulator/scripts/a1.py @@ -5,9 +5,9 @@ # 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. diff --git a/near-rt-ric-simulator/scripts/commands.sh b/near-rt-ric-simulator/scripts/commands.sh index 75c1d22..8c47afc 100755 --- a/near-rt-ric-simulator/scripts/commands.sh +++ b/near-rt-ric-simulator/scripts/commands.sh @@ -5,9 +5,9 @@ # 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. diff --git a/near-rt-ric-simulator/scripts/main.py b/near-rt-ric-simulator/scripts/main.py index 749058d..adbf1e5 100644 --- a/near-rt-ric-simulator/scripts/main.py +++ b/near-rt-ric-simulator/scripts/main.py @@ -5,9 +5,9 @@ # 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. diff --git a/near-rt-ric-simulator/scripts/start_simulator.sh b/near-rt-ric-simulator/scripts/start_simulator.sh index d5da893..fa08b4f 100755 --- a/near-rt-ric-simulator/scripts/start_simulator.sh +++ b/near-rt-ric-simulator/scripts/start_simulator.sh @@ -5,9 +5,9 @@ # 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. @@ -18,9 +18,4 @@ # One argument can be used along with the script call: it is the port on which one wish to run the simulator. -if [ $# -eq 0 ] -then - python3 ./main.py -else - python3 ./main.py $1 -fi +python3 ./main.py $*