python: Implement write support in Python IDL for OVSDB.
[sliver-openvswitch.git] / python / ovs / db / schema.py
index 7e18564..675f4ec 100644 (file)
@@ -95,6 +95,9 @@ class DbSchema(object):
             json["version"] = self.version
         return json
 
+    def copy(self):
+        return DbSchema.from_json(self.to_json())
+
     def __follow_ref_table(self, column, base, base_name):
         if not base or base.type != types.UuidType or not base.ref_table_name:
             return