Brought Fabric service over to xproto

Change-Id: I4d7267071450aae15b8e53fdf2b772fa1cb82577
diff --git a/xos/attic/header.py b/xos/attic/header.py
new file mode 100644
index 0000000..7b59c4e
--- /dev/null
+++ b/xos/attic/header.py
@@ -0,0 +1,6 @@
+from django.db import models
+from django.db.models import *
+from core.models import Service
+import traceback
+from xos.exceptions import *
+from xos.config import Config
diff --git a/xos/fabric-onboard.yaml b/xos/fabric-onboard.yaml
index 12b535b..e4810a8 100644
--- a/xos/fabric-onboard.yaml
+++ b/xos/fabric-onboard.yaml
@@ -13,7 +13,7 @@
           base_url: file:///opt/xos_services/fabric/xos/
           # The following will concatenate with base_url automatically, if
           # base_url is non-null.
-          models: models.py
+          xproto: ./
           admin: admin.py
           admin_template: templates/fabricadmin.html
           synchronizer: synchronizer/manifest
diff --git a/xos/fabric.xproto b/xos/fabric.xproto
new file mode 100644
index 0000000..e0d2d1a
--- /dev/null
+++ b/xos/fabric.xproto
@@ -0,0 +1,7 @@
+option app_label = "fabric";
+option verbose_name = "Fabric Service";
+option kind = "fabric";
+
+message FabricService(Service){
+     optional bool autoconfig = 1 [default = True, help_text="Autoconfigure the fabric", null=False];
+}
diff --git a/xos/header.py b/xos/header.py
new file mode 120000
index 0000000..721b5c0
--- /dev/null
+++ b/xos/header.py
@@ -0,0 +1 @@
+attic/header.py
\ No newline at end of file
diff --git a/xos/models.py b/xos/models.py
deleted file mode 100644
index bd37416..0000000
--- a/xos/models.py
+++ /dev/null
@@ -1,16 +0,0 @@
-from django.db import models
-from core.models import Service
-import traceback
-from xos.exceptions import *
-from xos.config import Config
-
-FABRIC_KIND = "fabric"
-
-class FabricService(Service):
-    KIND = FABRIC_KIND
-
-    class Meta:
-        app_label = "fabric"
-        verbose_name = "Fabric Service"
-
-    autoconfig = models.BooleanField(default=True, help_text="Autoconfigure the fabric")