def get_interfaces(self): return [ interface.to_core(row) for row in self.get("/interfaces").json() ]
def get_interfaces(self): return [interface.to_core(row) for row in self.get("/interfaces").json()]
def get_interface(self, interface_id): return interface.to_core( self.get("/interfaces/{}".format(interface_id)).json())
def get_interface(self, interface_id): return interface.to_core(self.get("/interfaces/{}".format(interface_id)).json())