git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c87bf18
)
VCDN-333: Node Statistics selected incorrect interface and accordingly COMON gets...
author
Umesh Sirsiwal
<umesh@umesh-desktop.verivue.com>
Thu, 28 Apr 2011 20:07:15 +0000
(16:07 -0400)
committer
S.Çağlar Onur
<caglar@verivue.com>
Wed, 4 May 2011 19:48:30 +0000
(15:48 -0400)
dns-config
patch
|
blob
|
history
diff --git
a/dns-config
b/dns-config
index
aaaa3f2
..
b2fa1e7
100755
(executable)
--- a/
dns-config
+++ b/
dns-config
@@
-66,7
+66,9
@@
def main():
if interface['hostname']:
hostname = interface['hostname']
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']):
hostname = nodes[interface['node_id']]['hostname']
if hosts.has_key(interface['ip']):