From d718ba8396cf07c2c73c66623dd8dfbc3a1adffb Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 22 Oct 2014 02:03:07 -0400 Subject: [PATCH] defect 4283: add note head of the subtourines (in hosts.pm) which called in ddns.pm. Generally xcat does not suggest that call subroutine of xcat_plugin from antoher xcat_plugin module, but since the change would be big, I add this note head the subroutines as a notification for the member who would change the involved subroutines. --- xCAT-server/lib/xcat/plugins/hosts.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/hosts.pm b/xCAT-server/lib/xcat/plugins/hosts.pm index 898e620ed..7868e41f5 100755 --- a/xCAT-server/lib/xcat/plugins/hosts.pm +++ b/xCAT-server/lib/xcat/plugins/hosts.pm @@ -233,6 +233,12 @@ sub delotherinterfaces } } + +##!!!!!!!!!!!!!!!!!!! +# NOTE FOR CHANGING # +# This subroutine is called in ddns.pm, please take care the calling in ddns.pm +# for your changes, especially the change upon the subroutine interface +##!!!!!!!!!!!!!!!!!!! sub add_hosts_content { my %args = @_; my $nodelist = $args{nodelist}; @@ -585,6 +591,12 @@ sub writeout =cut #------------------------------------------------------------------------------- + +##!!!!!!!!!!!!!!!!!!! +# NOTE FOR CHANGING # +# This subroutine is called in ddns.pm, please take care the calling in ddns.pm +# for your changes, especially the change upon the subroutine interface +##!!!!!!!!!!!!!!!!!!! sub donics { my %args = @_;