Code Review
/
sim
/
o1-interface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add VES stndDefined PM and subscription for O-DU.
[sim/o1-interface.git]
/
ntsimulator
/
ntsim-ng
/
main.c
diff --git
a/ntsimulator/ntsim-ng/main.c
b/ntsimulator/ntsim-ng/main.c
index
76abef6
..
c418204
100644
(file)
--- a/
ntsimulator/ntsim-ng/main.c
+++ b/
ntsimulator/ntsim-ng/main.c
@@
-37,7
+37,6
@@
#include "core/app/network_function.h"
#include "core/app/blank.h"
#include "core/datastore/schema.h"
#include "core/app/network_function.h"
#include "core/app/blank.h"
#include "core/datastore/schema.h"
-#include "core/datastore/generate.h"
#include "core/datastore/populate.h"
int main(int argc, char **argv) {
#include "core/datastore/populate.h"
int main(int argc, char **argv) {
@@
-53,7
+52,6
@@
int main(int argc, char **argv) {
switch(framework_arguments.nts_mode) {
case NTS_MODE_MANAGER:
case NTS_MODE_NETWORK_FUNCTION:
switch(framework_arguments.nts_mode) {
case NTS_MODE_MANAGER:
case NTS_MODE_NETWORK_FUNCTION:
- case NTS_MODE_GENERATE_DATA:
case NTS_MODE_TEST:
case NTS_MODE_DEFAULT:
sr_log_stderr(SR_LL_INF); //checkAL WRN
case NTS_MODE_TEST:
case NTS_MODE_DEFAULT:
sr_log_stderr(SR_LL_INF); //checkAL WRN
@@
-81,6
+79,7
@@
int main(int argc, char **argv) {
switch(framework_arguments.nts_mode) {
case NTS_MODE_MANAGER:
case NTS_MODE_NETWORK_FUNCTION:
switch(framework_arguments.nts_mode) {
case NTS_MODE_MANAGER:
case NTS_MODE_NETWORK_FUNCTION:
+ case NTS_MODE_TEST: //checkAL remove this
//configure local netconf server
if(netconf_configure() != NTS_ERR_OK) {
log_error("netconf_configure() failed\n")
//configure local netconf server
if(netconf_configure() != NTS_ERR_OK) {
log_error("netconf_configure() failed\n")
@@
-140,15
+139,6
@@
int main(int argc, char **argv) {
goto main_clean_framework;
break;
goto main_clean_framework;
break;
- case NTS_MODE_GENERATE_DATA:
- if(datastore_generate_data(DATASTORE_RUNNING_PATH, DATASTORE_OPERATIONAL_PATH) != NTS_ERR_OK) {
- log_error("datastore_generate_data() failed\n");
- return_code = EXIT_FAILURE;
- }
-
- goto main_clean;
- break;
-
case NTS_MODE_TEST:
if(exhaustive_test_run() != NTS_ERR_OK) {
log_error("exhaustive_test_run() failed\n");
case NTS_MODE_TEST:
if(exhaustive_test_run() != NTS_ERR_OK) {
log_error("exhaustive_test_run() failed\n");