Class MachineResponse
java.lang.Object
uk.ac.manchester.spinnaker.alloc.web.MachineResponse
The description of an individual machine.
- Author:
- Donal Fellows
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<BoardCoords>
The boards of the machine marked as down.The links of the machine marked as down.final int
The height of the machine, in triads.final URI
Where to look up a board by its ethernet IP address.final URI
Where to look up a board by global chip address.final URI
Where to look up a board by logical coordinates.final URI
Where to look up a board by physical coordinates.final String
The name of the machine.The tags of the machine.final int
The width of the machine, in triads. -
Constructor Summary
ConstructorsConstructorDescriptionMachineResponse
(SpallocAPI.Machine machine, jakarta.ws.rs.core.UriInfo ui) Create a machine response. -
Method Summary
-
Field Details
-
name
The name of the machine. -
tags
The tags of the machine. -
width
public final int widthThe width of the machine, in triads. -
height
public final int heightThe height of the machine, in triads. -
downBoards
The boards of the machine marked as down. -
downLinks
The links of the machine marked as down. -
lookupByPhysicalBoard
Where to look up a board by physical coordinates. -
lookupByLogicalBoard
Where to look up a board by logical coordinates. -
lookupByChip
Where to look up a board by global chip address. -
lookupByAddress
Where to look up a board by its ethernet IP address.
-
-
Constructor Details
-
MachineResponse
Create a machine response.- Parameters:
machine
- The machine being described.ui
- How to manufacture URIs. May benull
.
-