Added UI_TYPE annotation key, and augmented BasicDeviceConfig and BasicHostConfig to support defining a custom "uiType" value to override the glyph used in rendering on the Topology View.

Change-Id: I615540419bce6e89e3761ef6ed3b9906be64b266
diff --git a/core/api/src/test/java/org/onosproject/net/config/basics/BasicElementConfigTest.java b/core/api/src/test/java/org/onosproject/net/config/basics/BasicElementConfigTest.java
index 63040af..8c750ff 100644
--- a/core/api/src/test/java/org/onosproject/net/config/basics/BasicElementConfigTest.java
+++ b/core/api/src/test/java/org/onosproject/net/config/basics/BasicElementConfigTest.java
@@ -95,4 +95,13 @@
         assertEquals("lat", 3.1415, cfg.latitude(), ZERO_THRESHOLD);
         assertEquals("lon", 2.71828, cfg.longitude(), ZERO_THRESHOLD);
     }
+
+    @Test
+    public void uiType() {
+        print(cfg);
+        assertEquals("not default type", null, cfg.uiType());
+        cfg.uiType("someOtherType");
+        print(cfg);
+        assertEquals("not other type", "someOtherType", cfg.uiType());
+    }
 }