aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/models.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-10-23 19:52:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-23 19:52:45 +0000
commit77504dab9df7a68634943c9ea18dfe1fc46e107a (patch)
tree1db5686e45593bc27c899dba6f2ee1fa92edae1e /src/api/models.py
parent908feced2caa4eb6250a9a5e13db75fdd9988c74 (diff)
parent84b16668fcb0be4fe3d39f793e912676c4431cbd (diff)
Merge "Fix clear_delta() function"
Diffstat (limited to 'src/api/models.py')
-rw-r--r--src/api/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/models.py b/src/api/models.py
index f1e9130..7448ac4 100644
--- a/src/api/models.py
+++ b/src/api/models.py
@@ -488,7 +488,8 @@ class NetworkConfig(TaskConfig):
return d
def clear_delta(self):
- pass
+ self.delta = json.dumps(self.to_dict())
+ self.save()
def add_interface(self, interface):
self.interfaces.add(interface)