Created
February 24, 2016 20:14
-
-
Save mriedem/c6e869b8a91e1f98ea04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/nova/objects/fixed_ip.py b/nova/objects/fixed_ip.py | |
index 93dfe29..e04b327 100644 | |
--- a/nova/objects/fixed_ip.py | |
+++ b/nova/objects/fixed_ip.py | |
@@ -46,7 +46,8 @@ class FixedIP(obj_base.NovaPersistentObject, obj_base.NovaObject, | |
# Version 1.12: Instance 1.22, FloatingIPList 1.9 | |
# Version 1.13: Instance 1.23, FloatingIPList 1.10 | |
# Version 1.14: Added vif_id kwarg to associate(_pool), FloatingIPList 1.11 | |
- VERSION = '1.14' | |
+ # version 1.15: added bar | |
+ VERSION = '1.15' | |
fields = { | |
'id': fields.IntegerField(), | |
@@ -67,6 +68,7 @@ class FixedIP(obj_base.NovaPersistentObject, obj_base.NovaObject, | |
# because it would create a bit of a loop between FixedIP | |
# and FloatingIP | |
'floating_ips': fields.ObjectField('FloatingIPList'), | |
+ 'bar': fields.IntegerField(), | |
} | |
def obj_make_compatible(self, primitive, target_version): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment