bring over newinterface branch from Verivue
[plcapi.git] / PLC / Methods / GetInterfaces.py
index a154c8e..239aba9 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -20,10 +22,8 @@ class GetInterfaces(Method):
 
     accepts = [
         Auth(),
-        Mixed([Mixed(Interface.fields['interface_id'],
-                     Interface.fields['ip'])],
+        Mixed([Mixed(Interface.fields['interface_id'])],
               Parameter (int, "interface id"),
-              Parameter (str, "ip address"),
               Filter(Interface.fields)),
         Parameter([str], "List of fields to return", nullok = True)
         ]