From 60dae748dccc63bdc74cf19fcc6f4d6f6ac004e2 Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Wed, 1 Oct 2014 10:55:14 -0500 Subject: [PATCH] Adding IP Address to the instance. Needed for redirecting. --- awx/main/models/ha.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/models/ha.py b/awx/main/models/ha.py index 24aa4774af..a0f42c1d5f 100644 --- a/awx/main/models/ha.py +++ b/awx/main/models/ha.py @@ -12,6 +12,7 @@ class Instance(models.Model): objects = InstanceManager() uuid = models.CharField(max_length=40, unique=True) + ip_address = models.GenericIPAddressField(protocol='both', unpack_ipv4=True) primary = models.BooleanField(default=False) created = models.DateTimeField(auto_now_add=True) modified = models.DateTimeField(auto_now=True)