cross-subnet: add ifaddrs utility
The interface addresses used for replication will be scanned using this new utility we added called ifaddrs that returns all of the interface addresses separated by newlines. As an internal utility, this will be installed into $GPHOME/libexec. There is no Python 2 library that provides this functionality, so we add it ourselves. Also add a configure dependency on getifaddrs and inet_ntop, which are now required to build a functioning GPDB system. As far as we can tell, the other headers and functions are already handled through other configure checks. Co-authored-by: NJacob Champion <pchampion@pivotal.io> Co-authored-by: NAdam Berlin <aberlin@pivotal.io> Co-authored-by: NBhuvnesh Chaudhary <bchaudhary@pivotal.io> Co-authored-by: NKalen Krempely <kkrempely@pivotal.io> Co-authored-by: NDavid Krieger <dkrieger@pivotal.io> Co-authored-by: NJamie McAtamney <jmcatamney@pivotal.io>
Showing
gpMgmt/bin/ifaddrs/.gitignore
0 → 100644
gpMgmt/bin/ifaddrs/Makefile
0 → 100644
gpMgmt/bin/ifaddrs/main.c
0 → 100644
想要评论请 注册 或 登录