X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ntsimulator%2Fntsim-ng%2Fcore%2Fframework.h;h=21ea844a309bef1b397a9d6d50f26a79b181044e;hb=caec2fcb18e829420672509fe5e356b48d0c3840;hp=fa791b840bfa5a3c2c020bb478797bfb0b4cc801;hpb=6d03d77e2110c880c63c8716385d2b936ccc4b78;p=sim%2Fo1-interface.git diff --git a/ntsimulator/ntsim-ng/core/framework.h b/ntsimulator/ntsim-ng/core/framework.h index fa791b8..21ea844 100644 --- a/ntsimulator/ntsim-ng/core/framework.h +++ b/ntsimulator/ntsim-ng/core/framework.h @@ -49,6 +49,7 @@ #define ENV_VAR_SDN_CONTROLLER_PROTOCOL "SDN_CONTROLLER_PROTOCOL" #define ENV_VAR_SDN_CONTROLLER_IP "SDN_CONTROLLER_IP" #define ENV_VAR_SDN_CONTROLLER_PORT "SDN_CONTROLLER_PORT" +#define ENV_VAR_SDN_CONTROLLER_CALLHOME_IP "SDN_CONTROLLER_CALLHOME_IP" #define ENV_VAR_SDN_CONTROLLER_CALLHOME_PORT "SDN_CONTROLLER_CALLHOME_PORT" #define ENV_VAR_SDN_CONTROLLER_USERNAME "SDN_CONTROLLER_USERNAME" #define ENV_VAR_SDN_CONTROLLER_PASSWORD "SDN_CONTROLLER_PASSWORD" @@ -69,7 +70,6 @@ typedef enum { NTS_MODE_MANAGER, NTS_MODE_NETWORK_FUNCTION, NTS_MODE_BLANK, - NTS_MODE_GENERATE_DATA, NTS_MODE_TEST, } nts_mode_t; @@ -124,9 +124,11 @@ typedef struct { char *protocol; char *ip; uint16_t port; + char *callhome_ip; uint16_t callhome_port; char *username; char *password; + bool port_absent; } sdn_controller; struct { @@ -139,6 +141,7 @@ typedef struct { char *username; char *password; char *certificate; + bool port_absent; } ves_endpoint; } framework_environment_t;