diff options
author | Haddox, Anthony <ah0647@att.com> | 2019-01-16 08:08:35 -0800 |
---|---|---|
committer | Haddox, Anthony <ah0647@att.com> | 2019-01-18 06:23:03 -0800 |
commit | 50bd4a0f591d9d00335b008a9e66f1906d40bc20 (patch) | |
tree | 8ddbec3d4f8ea120ec948ac8b14fc19141a2c1c2 /daexim-offsite-backup/model/src/main/yang/daexim-offsite-backup.yang | |
parent | 90adbb654c878bfc9e1ba61c75feb3cba8280733 (diff) |
[CCSDK-953]Create Daexim Offsite Backup
Inital commit of ODL feature
Issue-ID: CCSDK-953
Change-Id: I7eb64fc9f414083db424700f2c901ba0a66cb0c4
Signed-off-by: Haddox, Anthony <ah0647@att.com>
Diffstat (limited to 'daexim-offsite-backup/model/src/main/yang/daexim-offsite-backup.yang')
-rwxr-xr-x | daexim-offsite-backup/model/src/main/yang/daexim-offsite-backup.yang | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/daexim-offsite-backup/model/src/main/yang/daexim-offsite-backup.yang b/daexim-offsite-backup/model/src/main/yang/daexim-offsite-backup.yang new file mode 100755 index 000000000..363136caf --- /dev/null +++ b/daexim-offsite-backup/model/src/main/yang/daexim-offsite-backup.yang @@ -0,0 +1,46 @@ +module daexim-offsite-backup{
+ namespace "org:onap:ccsdk:sli:northbound:daeximoffsitebackup";
+ prefix daexim-offsite-backup;
+
+ import ietf-inet-types {
+ prefix inet;
+ }
+ import ietf-yang-types {
+ prefix yang;
+ }
+ description
+ "This ODL feature is designed for transferring MD-SAL data
+ to an offsite location in the ECOMP-C containerized environments.";
+ revision "2018-09-26" {
+ description
+ "Release 19.02 draft";
+ }
+
+ rpc backup-data {
+ output {
+ leaf status { type string; }
+ leaf message { type string; }
+ }
+ }
+
+ rpc retrieve-data {
+ input {
+ leaf pod-name {
+ type string;
+ description
+ "Name of the desired MD-SAL backup's pod. If not supplied will
+ default to the name of this pod.";
+ }
+ leaf timestamp {
+ type string;
+ description
+ "Timestamp of the desired backup. Format: yyyyMMdd_HH";
+ mandatory true;
+ }
+ }
+ output {
+ leaf status { type string; }
+ leaf message { type string; }
+ }
+ }
+}////closes the module
\ No newline at end of file |