[VOL-4673] Initial translation of data inside mountpoint
Change-Id: Icafbbe25fb4a6ef28049419b8e0eca793c0a0e19
diff --git a/internal/config/config.go b/internal/config/config.go
index d7e4916..d3be1fc 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -35,6 +35,7 @@
OnosRestEndpoint string
OnosUser string
OnosPassword string
+ SchemaMountFilePath string
}
// LoadConfig loads the BBF adapter configuration through
@@ -55,6 +56,7 @@
flag.StringVar(&conf.OnosRestEndpoint, "onos_rest_endpoint", conf.OnosRestEndpoint, "Endpoint of ONOS REST APIs")
flag.StringVar(&conf.OnosUser, "onos_user", conf.OnosUser, "Username for ONOS REST APIs")
flag.StringVar(&conf.OnosPassword, "onos_pass", conf.OnosPassword, "Password for ONOS REST APIs")
+ flag.StringVar(&conf.SchemaMountFilePath, "schema_mount_path", conf.SchemaMountFilePath, "Path to the XML file that defines schema-mounts for libyang")
flag.Parse()
@@ -77,5 +79,6 @@
OnosRestEndpoint: "voltha-infra-onos-classic-hs.infra.svc:8181",
OnosUser: "onos",
OnosPassword: "rocks",
+ SchemaMountFilePath: "/schema-mount.xml",
}
}