コード例 #1
0
ファイル: dell.py プロジェクト: internap/netman
 def interface(self, interface_id):
     return SubShell(
         self.shell,
         enter="interface {}".format(interface_id),
         exit_cmd="exit",
         validate=no_output(UnknownInterface, interface_id),
     )
コード例 #2
0
ファイル: dell.py プロジェクト: idjaw/netman
 def interface(self, interface_id):
     return SubShell(self.shell, enter="interface {}".format(interface_id), exit_cmd='exit',
                     validate=no_output(UnknownInterface, interface_id))