blob: 6f4cff22804bf38e9382c48d2a9fb6b3712be02a [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001package org.onlab.onos.net;
2
3import java.net.URI;
4
5/**
tom64b7aac2014-08-26 00:18:21 -07006 * Immutable representation of a device identity.
tom0eb04ca2014-08-25 14:34:51 -07007 */
tomb36046e2014-08-27 00:22:24 -07008public class DeviceId extends ElementId {
tom0eb04ca2014-08-25 14:34:51 -07009
tomde8d9682014-08-27 01:11:43 -070010 // TODO: Discuss whether we should just use ElementId for Device and Host alike
tom0eb04ca2014-08-25 14:34:51 -070011 /**
tomb36046e2014-08-27 00:22:24 -070012 * Creates a device id using the supplied URI.
tom0eb04ca2014-08-25 14:34:51 -070013 *
tomb36046e2014-08-27 00:22:24 -070014 * @param uri backing device URI
tom0eb04ca2014-08-25 14:34:51 -070015 */
tomb36046e2014-08-27 00:22:24 -070016 public DeviceId(URI uri) {
17 super(uri);
tom64b7aac2014-08-26 00:18:21 -070018 }
19
tom0eb04ca2014-08-25 14:34:51 -070020}