Class MachineResponse
java.lang.Object
uk.ac.manchester.spinnaker.alloc.web.MachineResponse
public final class MachineResponse extends Object
The description of an individual machine.
- Author:
- Donal Fellows
-
Field Summary
Fields Modifier and Type Field Description List<BoardCoords>
downBoards
The boards of the machine marked as down.List<DownLink>
downLinks
The links of the machine marked as down.int
height
The height of the machine, in triads.URI
lookupByAddress
Where to look up a board by its ethernet IP address.URI
lookupByChip
Where to look up a board by global chip address.URI
lookupByLogicalBoard
Where to look up a board by logical coordinates.URI
lookupByPhysicalBoard
Where to look up a board by physical coordinates.String
name
The name of the machine.List<String>
tags
The tags of the machine.int
width
The width of the machine, in triads. -
Constructor Summary
Constructors Constructor Description MachineResponse(SpallocAPI.Machine machine, 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
.
-