projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds granularity support in OpenStack vim config
[osm/MON.git]
/
osm_mon
/
core
/
database.py
diff --git
a/osm_mon/core/database.py
b/osm_mon/core/database.py
index
1d66264
..
eab4bed
100644
(file)
--- a/
osm_mon/core/database.py
+++ b/
osm_mon/core/database.py
@@
-27,7
+27,7
@@
import logging
from peewee import *
from playhouse.sqlite_ext import SqliteExtDatabase
from peewee import *
from playhouse.sqlite_ext import SqliteExtDatabase
-from osm_mon.
plugins.OpenStack
.settings import Config
+from osm_mon.
core
.settings import Config
log = logging.getLogger(__name__)
cfg = Config.instance()
log = logging.getLogger(__name__)
cfg = Config.instance()
@@
-48,7
+48,7
@@
class VimCredentials(BaseModel):
user = CharField()
password = CharField()
tenant_name = CharField()
user = CharField()
password = CharField()
tenant_name = CharField()
- config = TextField(
null=True
)
+ config = TextField(
default='{}'
)
class Alarm(BaseModel):
class Alarm(BaseModel):