add services.onos; allow argument to limit which app to generate
diff --git a/xos/dmdot b/xos/dmdot
old mode 100755
new mode 100644
index 8570c4d..124c7cf
--- a/xos/dmdot
+++ b/xos/dmdot
@@ -12,7 +12,7 @@
from django.db.models.fields.related import ForeignKey
# defaults
-apps = ["core", "hpc", "cord", "requestrouter"]
+apps = ["core", "hpc", "cord", "requestrouter", "services.onos"]
output = "-json"
# syntax: dmdot [-json | -dot] [app_name]
@@ -22,7 +22,7 @@
if arg.startswith("-"):
output = arg
else:
- app = arg
+ apps = [arg]
model_classes = []
class_names = []