Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
DB-Layer fixes/enhancements (#26)
Browse files Browse the repository at this point in the history
Added additional DBs
NoDelete option used (Set|Mod)Entry
MultiDB changes
GetKeysByPattern(), Publish(), RunScript()
DeleteKeys() bug fix
  • Loading branch information
a-barboza authored Oct 19, 2020
1 parent 9a27302 commit 5e2466b
Show file tree
Hide file tree
Showing 7 changed files with 511 additions and 107 deletions.
56 changes: 56 additions & 0 deletions tools/test/database_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"INSTANCES": {
"redis":{
"hostname" : "127.0.0.1",
"port" : 6379
}
},
"DATABASES" : {
"APPL_DB" : {
"id" : 0,
"separator": ":",
"instance" : "redis"
},
"ASIC_DB" : {
"id" : 1,
"separator": ":",
"instance" : "redis"
},
"COUNTERS_DB" : {
"id" : 2,
"separator": ":",
"instance" : "redis"
},
"LOGLEVEL_DB" : {
"id" : 3,
"separator": ":",
"instance" : "redis"
},
"CONFIG_DB" : {
"id" : 4,
"separator": "|",
"instance" : "redis"
},
"PFC_WD_DB" : {
"id" : 5,
"separator": ":",
"instance" : "redis"
},
"FLEX_COUNTER_DB" : {
"id" : 5,
"separator": ":",
"instance" : "redis"
},
"STATE_DB" : {
"id" : 6,
"separator": "|",
"instance" : "redis"
},
"SNMP_OVERLAY_DB" : {
"id" : 7,
"separator": "|",
"instance" : "redis"
}
},
"VERSION" : "1.0"
}
Loading

0 comments on commit 5e2466b

Please sign in to comment.