Get this object properties

REST: GET /dedicated/server/{serviceName}/networkInterfaceController/{mac}
@param serviceName [required] The internal name of your dedicated server
@param mac [required] NetworkInterfaceController mac

API beta
423342
public OvhNetworkInterfaceController serviceName_networkInterfaceController_mac_GET(String serviceName, String mac) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/networkInterfaceController/{mac}";
		StringBuilder sb = path(qPath, serviceName, mac);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhNetworkInterfaceController.class);
	}
472290
public OvhAllowedNetwork serviceName_allowedNetwork_networkAccessId_GET(String serviceName, Long networkAccessId) throws IOException {
		String qPath = "/dedicatedCloud/{serviceName}/allowedNetwork/{networkAccessId}";
		StringBuilder sb = path(qPath, serviceName, networkAccessId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhAllowedNetwork.class);
	}
198073
public static sslservice get(nitro_service service, String servicename) throws Exception{
		sslservice obj = new sslservice();
		obj.set_servicename(servicename);
		sslservice response = (sslservice) obj.get_resource(service);
		return response;
	}
1297802
private List<String> getDomainHostServers(ModelControllerClient mcc, String hostName) {
        return getChildrenNames(PathAddress.EMPTY_ADDRESS.append("host", hostName), "server", mcc);
    }
61155
public ArrayList<OvhWindowsOsVersionEnum> serviceName_license_compliantWindows_GET(String serviceName) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/license/compliantWindows";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t7);
	}
44439
public synchronized NetworkServiceDescriptorAgent getNetworkServiceDescriptorAgent() {
    if (this.networkServiceDescriptorAgent == null) {
      if (isService) {
        this.networkServiceDescriptorAgent =
            new NetworkServiceDescriptorAgent(
                this.serviceName,
                this.projectId,
                this.sslEnabled,
                this.nfvoIp,
                this.nfvoPort,
                this.version,
                this.serviceKey);
      } else {
        this.networkServiceDescriptorAgent =
            new NetworkServiceDescriptorAgent(
                this.username,
                this.password,
                this.projectId,
                this.sslEnabled,
                this.nfvoIp,
                this.nfvoPort,
                this.version);
      }
    }
    return this.networkServiceDescriptorAgent;
  }
587136
def get_host_mac(name=None, allow_array=False, **api_opts):
    '''
    
    '''
    data = get_host(name=name, **api_opts)
    if data and 'ipv4addrs' in data:
        l = []
        for a in data['ipv4addrs']:
            if 'mac' in a:
                l.append(a['mac'])
        if allow_array:
            return l
        if l:
            return l[0]
    return None
963289
public OvhOfficeDomain serviceName_domain_domainName_GET(String serviceName, String domainName) throws IOException {
		String qPath = "/license/office/{serviceName}/domain/{domainName}";
		StringBuilder sb = path(qPath, serviceName, domainName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhOfficeDomain.class);
	}
428112
public OvhNetwork project_serviceName_network_private_networkId_GET(String serviceName, String networkId) throws IOException {
		String qPath = "/cloud/project/{serviceName}/network/private/{networkId}";
		StringBuilder sb = path(qPath, serviceName, networkId);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhNetwork.class);
	}
578565
@SuppressWarnings("unchecked")
  public <S> S getService(ObjectName name) {
    return (S) servicesByName.get(name);
  }
176368
def interface_by_macaddr(self, macaddr):
        '''
        
        '''
        macaddr = EthAddr(macaddr)
        for devname,iface in self._devinfo.items():
            if iface.ethaddr == macaddr:
                return iface
        raise KeyError("No device has MAC address {}".format(macaddr))
44527
private MBeanServer getServerForName(String name) {
        try {
            MBeanServer mbeanServer = null;
            final ObjectName objectNameQuery = new ObjectName(name + ":type=Service,*");

            for (final MBeanServer server : MBeanServerFactory.findMBeanServer(null)) {
                if (server.queryNames(objectNameQuery, null).size() > 0) {
                    mbeanServer = server;
                    // we found it, bail out
                    break;
                }
            }

            return mbeanServer;
        } catch (Exception e) {
        }

        return null;
    }
410056
public ArrayList<OvhWindowsSqlVersionEnum> serviceName_license_compliantWindowsSqlServer_GET(String serviceName) throws IOException {
		String qPath = "/dedicated/server/{serviceName}/license/compliantWindowsSqlServer";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t6);
	}
960659
public ArrayList<String> dedicated_server_serviceName_traffic_GET(String serviceName, OvhTrafficOrderEnum traffic) throws IOException {
		String qPath = "/order/dedicated/server/{serviceName}/traffic";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "traffic", traffic);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t1);
	}
951726
public ArrayList<String> dedicated_server_serviceName_firewall_GET(String serviceName, OvhFirewallModelEnum firewallModel) throws IOException {
		String qPath = "/order/dedicated/server/{serviceName}/firewall";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "firewallModel", firewallModel);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t1);
	}
953387
def _servicegroup_get_servers(sg_name, **connection_args):
    '''
    
    '''
    nitro = _connect(**connection_args)
    if nitro is None:
        return None
    sg = NSServiceGroup()
    sg.set_servicegroupname(sg_name)
    try:
        sg = NSServiceGroup.get_servers(nitro, sg)
    except NSNitroError as error:
        log.debug('netscaler module error - NSServiceGroup.get_servers failed(): %s', error)
        sg = None
    _disconnect(nitro)
    return sg
478246
def mac(self):
        
        res = 'Port       Mac                VLAN\n'
        result = (yield from self._node._hypervisor.send('ethsw show_mac_addr_table {}'.format(self._node.name)))
        for line in result:
            mac, vlan, nio = line.replace('  ', ' ').split(' ')
            mac = mac.replace('.', '')
            mac = "{}:{}:{}:{}:{}:{}".format(
                mac[0:2],
                mac[2:4],
                mac[4:6],
                mac[6:8],
                mac[8:10],
                mac[10:12])
            for port_number, switch_nio in self._node.nios.items():
                if switch_nio.name == nio:
                    res += 'Ethernet' + str(port_number) + '  ' + mac + '  ' + vlan + '\n'
                    break
        return res