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 Details

    • name

      public final String name
      The name of the machine.
    • tags

      public final List<String> tags
      The tags of the machine.
    • width

      public final int width
      The width of the machine, in triads.
    • height

      public final int height
      The height of the machine, in triads.
    • downBoards

      public final List<BoardCoords> downBoards
      The boards of the machine marked as down.
    • downLinks

      public final List<DownLink> downLinks
      The links of the machine marked as down.
    • lookupByPhysicalBoard

      public final URI lookupByPhysicalBoard
      Where to look up a board by physical coordinates.
    • lookupByLogicalBoard

      public final URI lookupByLogicalBoard
      Where to look up a board by logical coordinates.
    • lookupByChip

      public final URI lookupByChip
      Where to look up a board by global chip address.
    • lookupByAddress

      public final URI lookupByAddress
      Where to look up a board by its ethernet IP address.
  • Constructor Details

    • MachineResponse

      public MachineResponse​(SpallocAPI.Machine machine, UriInfo ui)
      Create a machine response.
      Parameters:
      machine - The machine being described.
      ui - How to manufacture URIs. May be null.