VCDN-333: Node Statistics selected incorrect interface and accordingly COMON gets...
authorUmesh Sirsiwal <umesh@umesh-desktop.verivue.com>
Thu, 28 Apr 2011 20:07:15 +0000 (16:07 -0400)
committerS.Çağlar Onur <caglar@verivue.com>
Wed, 4 May 2011 19:48:30 +0000 (15:48 -0400)
dns-config

index aaaa3f2..b2fa1e7 100755 (executable)
@@ -66,7 +66,9 @@ def main():
 
         if interface['hostname']:
             hostname = interface['hostname']
-        else:
+        else:      
+            if not interface['is_primary']:
+                continue
             hostname = nodes[interface['node_id']]['hostname']
 
         if hosts.has_key(interface['ip']):