/** @file MOMNetworkInterface.idl
 *
 * Copyright (C) Espial Limited 2014 - Company confidential - All rights reserved.
 *
 */

    [
		NoInterfaceObject,
        ActiveDOMObject,
        Conditional=RMAI,
        JSGenerateToJSObject,
        JSGenerateToNativeObject,
    ] interface MOMNetworkInterface : EventTarget {

        readonly attribute DOMString type;
        attribute DOMString ipAddress;
        readonly attribute DOMString macAddress;
        readonly attribute boolean connected;
        attribute boolean enabled;
        readonly attribute boolean bandwidthManagementAvailable;
        readonly attribute long provisionedBandwidth;
        readonly attribute long currentBandwidth;
        attribute boolean dhcpEnable;
        attribute boolean pppoeEnable;
        attribute DOMString gatewayAddress;
        attribute DOMString subnetMask;
        attribute DOMString dnsAddresses;
        attribute DOMString pppoeUserName;
        attribute DOMString pppoePassword;

        [Custom] long pingTest( in DOMString addr );
        [Custom] long urlTest( in DOMString addr );
    };
