Exemplo n.º 1
0
 def get_interfaces(self):
     return [
         interface.to_core(row) for row in self.get("/interfaces").json()
     ]
Exemplo n.º 2
0
 def get_interfaces(self):
     return [interface.to_core(row) for row in self.get("/interfaces").json()]
Exemplo n.º 3
0
 def get_interface(self, interface_id):
     return interface.to_core(
         self.get("/interfaces/{}".format(interface_id)).json())
Exemplo n.º 4
0
 def get_interface(self, interface_id):
     return interface.to_core(self.get("/interfaces/{}".format(interface_id)).json())