Added getFenceMode in Network