projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 10920: Monitoring of NFVI-leve VNF metrics form Prometheus TSDB
[osm/NBI.git]
/
osm_nbi
/
validation.py
diff --git
a/osm_nbi/validation.py
b/osm_nbi/validation.py
index
4db456a
..
9bbde28
100644
(file)
--- a/
osm_nbi/validation.py
+++ b/
osm_nbi/validation.py
@@
-516,6
+516,7
@@
vim_account_edit_schema = {
"vim_password": passwd_schema,
"vca": id_schema,
"config": {"type": "object"},
"vim_password": passwd_schema,
"vca": id_schema,
"config": {"type": "object"},
+ "prometheus-config": {"type": "object"},
},
"additionalProperties": False,
}
},
"additionalProperties": False,
}
@@
-540,6
+541,7
@@
vim_account_new_schema = {
"vim_password": passwd_schema,
"vca": id_schema,
"config": {"type": "object"},
"vim_password": passwd_schema,
"vca": id_schema,
"config": {"type": "object"},
+ "prometheus-config": {"type": "object"},
},
"required": [
"name",
},
"required": [
"name",