question: private Map < String , String > checkVipDiff ( PropertyInfoExt localProps , PropertyInfoRestRep rep ) { String vipAddrV4 = rep . getProperty ( "network_vip" ) ; String vipAddrV6 = rep . getProperty ( "network_vip6" ) ; Map < String , String > diffProps = new HashMap < String , String > ( ) ; if ( ! vipAddrV4 . equals ( localProps . getProperty ( "network_vip" ) ) ) { diffProps . put ( "network_vip" , vipAddrV4 ) ; _log . warn ( "Detected changed vip. remote vip: {}, local repo vip: {}" , vipAddrV4 , localProps . getProperty ( "network_vip" ) ) ; } if ( ! vipAddrV6 . equals ( localProps . getProperty ( "network_vip6" ) ) ) { diffProps . put ( "network_vip6" , vipAddrV6 ) ; _log . warn ( "Detected changed vip. remote vip: {}, local repo vip: {}" , vipAddrV6 , localProps . getProperty ( "network_vip6" ) ) ; } return diffProps ; }
target:  Check if vip changed comparing locally cached vip vs vip get from controller Diff