+++ /dev/null
-module aaa-encrypt-service-config {
- yang-version 1;
- namespace "config:aaa:authn:encrypt:service:config";
- prefix "aaa-encrypt-service-config";
- organization "OpenDayLight";
-
- contact "melserngawy@inocybe.ca";
-
- revision 2016-09-15 {
- description
- "Initial revision.";
- }
-
- container aaa-encrypt-service-config {
- leaf encrypt-key {
- description "Encryption key";
- type string;
- }
- leaf password-length {
- description "Encryption key password length";
- type int32;
- }
- leaf encrypt-salt {
- description "Encryption key salt";
- type string;
- }
- leaf encrypt-method {
- description "The encryption method to use";
- type string;
- }
- leaf encrypt-type {
- description "The encryption type";
- type string;
- }
- leaf encrypt-iteration-count {
- description "Number of iterations that will be used by the key";
- type int32;
- }
- leaf encrypt-key-length {
- description "Key length";
- type int32;
- }
- leaf cipher-transforms {
- description "cipher transformation type ex: AES/CBC/PKCS5Padding (128)";
- type string;
- }
- }
-}
\ No newline at end of file
<dependencies>
<dependency>
- <groupId>org.opendaylight.aaa</groupId>
- <artifactId>aaa-encrypt-service</artifactId>
+ <groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>yang-common</artifactId>
</dependency>
<dependency>
<groupId>org.opendaylight.mdsal</groupId>
<artifactId>mdsal-binding-api</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
+ <groupId>org.opendaylight.mdsal</groupId>
+ <artifactId>mdsal-common-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.aaa</groupId>
+ <artifactId>aaa-encrypt-service</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.opendaylight.yangtools</groupId>
+ <artifactId>util</artifactId>
+ <scope>test</scope>
</dependency>
</dependencies>
--- /dev/null
+module aaa-encrypt-service-config {
+ yang-version 1;
+ namespace "config:aaa:authn:encrypt:service:config";
+ prefix "aaa-encrypt-service-config";
+ organization "OpenDayLight";
+
+ contact "melserngawy@inocybe.ca";
+
+ revision 2016-09-15 {
+ description "Initial revision.";
+ }
+
+ grouping encrypt-service-config {
+ leaf encrypt-key {
+ description "Encryption key";
+ type string;
+ }
+ leaf password-length {
+ description "Encryption key password length";
+ type int32;
+ }
+ leaf encrypt-salt {
+ description "Encryption key salt";
+ type string;
+ }
+ leaf encrypt-method {
+ description "The encryption method to use";
+ type string;
+ }
+ leaf encrypt-type {
+ description "The encryption type";
+ type string;
+ }
+ leaf encrypt-iteration-count {
+ description "Number of iterations that will be used by the key";
+ type int32;
+ }
+ leaf encrypt-key-length {
+ description "Key length";
+ type int32;
+ }
+ leaf cipher-transforms {
+ description "cipher transformation type ex: AES/CBC/PKCS5Padding (128)";
+ type string;
+ }
+ }
+
+ container aaa-encrypt-service-config {
+ uses encrypt-service-config;
+ }
+}