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 SDN Controller and VES Collector addressing via a hostname instead of an IP.
[sim/o1-interface.git]
/
ntsimulator
/
ntsim-ng
/
core
/
framework.h
diff --git
a/ntsimulator/ntsim-ng/core/framework.h
b/ntsimulator/ntsim-ng/core/framework.h
index
1c8a266
..
b4fe3df
100644
(file)
--- a/
ntsimulator/ntsim-ng/core/framework.h
+++ b/
ntsimulator/ntsim-ng/core/framework.h
@@
-68,6
+68,7
@@
typedef enum {
NTS_MODE_SUPERVISOR,
NTS_MODE_MANAGER,
NTS_MODE_NETWORK_FUNCTION,
NTS_MODE_SUPERVISOR,
NTS_MODE_MANAGER,
NTS_MODE_NETWORK_FUNCTION,
+ NTS_MODE_BLANK,
NTS_MODE_GENERATE_DATA,
NTS_MODE_TEST,
} nts_mode_t;
NTS_MODE_GENERATE_DATA,
NTS_MODE_TEST,
} nts_mode_t;
@@
-126,6
+127,7
@@
typedef struct {
uint16_t callhome_port;
char *username;
char *password;
uint16_t callhome_port;
char *username;
char *password;
+ bool port_absent;
} sdn_controller;
struct {
} sdn_controller;
struct {
@@
-138,6
+140,7
@@
typedef struct {
char *username;
char *password;
char *certificate;
char *username;
char *password;
char *certificate;
+ bool port_absent;
} ves_endpoint;
} framework_environment_t;
} ves_endpoint;
} framework_environment_t;