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
/
core
/
datastore
/
populate.h
diff --git
a/ntsimulator/ntsim-ng/core/datastore/populate.h
b/ntsimulator/ntsim-ng/core/datastore/populate.h
index
78468e2
..
da15e0f
100644
(file)
--- a/
ntsimulator/ntsim-ng/core/datastore/populate.h
+++ b/
ntsimulator/ntsim-ng/core/datastore/populate.h
@@
-1,6
+1,6
@@
/*************************************************************************
*
/*************************************************************************
*
-* Copyright 202
0
highstreet technologies GmbH and others
+* Copyright 202
1
highstreet technologies GmbH and others
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-17,11
+17,9
@@
#pragma once
#pragma once
-#include <string.h>
-#include <stdint.h>
-#include <stdbool.h>
+#include <sysrepo.h>
-#define DATASTORE_OPERATIONAL_PATH "log/datastore-operational.json"
-#define DATASTORE_RUNNING_PATH "log/datastore-running.json"
+int datastore_populate_all(); //fresh populate of all modules; handles late-resolving and validation over own-created job; should only be ran once
+int datastore_populate_update_operational(const char **xpath, int xpath_len);
-int datastore_
populate(int retries
);
+int datastore_
dynamic_operational_auto_callback(sr_session_ctx_t *session, const char *module_name, const char *xpath, sr_event_t event, uint32_t request_id, void *private_data
);