1 from PLC.Faults import *
2 from PLC.Method import Method
3 from PLC.Parameter import Parameter, Mixed
4 from PLC.Auth import Auth
5 from PLC.Nodes import Node, Nodes
6 from PLC.NodeNetworks import NodeNetwork, NodeNetworks
7 from PLC.Methods.DeleteNodeNetwork import DeleteNodeNetwork
9 class AdmDeleteNodeNetwork(DeleteNodeNetwork):
11 Deprecated. See DeleteNodeNetwork.
18 Mixed(Node.fields['node_id'],
19 Node.fields['hostname']),
20 NodeNetwork.fields['nodenetwork_id']
23 def call(self, auth, node_id_or_hostname, nodenetwork_id):
24 return DeleteNodeNetwork.call(self, auth, nodenetwork_id)