Arista driver bazel build

Change-Id: If9399a91e020fa8671d95c378159df050b46de7f
diff --git a/providers/rest/BUILD b/providers/rest/BUILD
new file mode 100644
index 0000000..3aca595
--- /dev/null
+++ b/providers/rest/BUILD
@@ -0,0 +1,21 @@
+BUNDLES = [
+    '@jersey_client//jar',
+    '@jersey_security//jar',
+    '@commons_io//jar',
+    '@httpclient_osgi//jar',
+    '@httpcore_osgi//jar',
+    '//providers/rest/device:onos-providers-rest-device',
+    '//protocols/rest/api:onos-protocols-rest-api',
+    '//protocols/rest/ctl:onos-protocols-rest-ctl',
+]
+
+onos_app (
+    app_name = 'org.onosproject.restsb',
+    title = 'REST Provider',
+    category = 'Provider',
+    url = 'https://wiki.onosproject.org/display/ONOS/REST',
+    included_bundles = BUNDLES,
+    description = 'Provides means for ONOS to discover the existence of a REST API enabled device ' +
+        'or proxy for multiple devices from information given by network configuration.',
+)
+
diff --git a/providers/rest/device/BUILD b/providers/rest/device/BUILD
new file mode 100644
index 0000000..dc6632c
--- /dev/null
+++ b/providers/rest/device/BUILD
@@ -0,0 +1,12 @@
+COMPILE_DEPS = CORE_DEPS + JACKSON + [
+    '@javax_ws_rs_api//jar',
+    #'//protocols/ovsdb/api:onos-protocols-ovsdb-api',
+    #'//protocols/ovsdb/rfc:onos-protocols-ovsdb-rfc',
+    #'//apps/pcep-api:onos-apps-pcep-api',
+    '//incubator/api:onos-incubator-api',
+    '//protocols/rest/api:onos-protocols-rest-api',
+]
+
+osgi_jar_with_tests (
+    deps = COMPILE_DEPS,
+)