Code example for NetworkInterface

Methods: getName

0
            } 
        } 
 
        if (_storageNic != null) {
        	if (s_logger.isDebugEnabled()) { 
        		s_logger.debug("Storage has its now nic: " + _storageNic.getName());
        	} 
            info = NetUtils.getNetworkParams(_storageNic);
        } 
 
        // NOTE: In case you're wondering, this is not here by mistake. 
        if (info != null) {
        	if (s_logger.isDebugEnabled()) { 
        		s_logger.debug("Parameters for storage nic: " + info[0] + " - " + info[1] + "-" + info[2]);
        	} 
            cmd.setStorageIpAddress(info[0]);
            cmd.setStorageMacAddress(info[1]);
            cmd.setStorageNetmask(info[2]);
        } 
 
Contextual code suggestions in your IDE  Get Codota for Java