Merge "Fix Typo in RPC Name"
[aaa.git] / aaa-cert / src / main / yang / aaa-cert-rpc.yang
index 5d1aa694bf8455133555add1e0d94107a172559e..35e8b037cbac24cbd8f812769ae31e74c2db0a64 100644 (file)
@@ -22,20 +22,9 @@ module aaa-cert-rpc {
             "Initial revision.";
     }
 
-    grouping node-certificate {
-        leaf alias {
-            description "ovs node certificate alias";
-            type string;
-        }
-        leaf certificate {
-            description "ovs node certificate";
-            type string;
-        }
-    }
-
     rpc getODLCertificate {
         description
-            "Get the ctl.jks keystore certificate";
+            "Get the ODL keystore certificate";
         output {
            leaf odl-cert {
                type string;
@@ -45,7 +34,7 @@ module aaa-cert-rpc {
 
     rpc getODLCertificateReq {
         description
-            "Generate a certificate request from the ctl.jks keystore to be signed by a CA";
+            "Generate a certificate request from the ODL keystore to be signed by a CA";
         output {
            leaf odl-cert-req {
                type string;
@@ -53,21 +42,24 @@ module aaa-cert-rpc {
         }
     }
 
-    rpc setODLCertifcate {
+    rpc setODLCertificate {
         description
-            "The certifcate should be generated based on
-            a certifcate request generated from the ctl.jks
-            keystore otherwise the certifcated will not be added to ctl keystore";
+            "The certificate should be generated based on
+            a certificate request generated from the ctl.jks
+            keystore otherwise the certificate will not be added to ctl keystore";
         input {
+            leaf odl-cert-alias {
+                type string;
+            }
            leaf odl-cert {
                type string;
            }
         }
     }
 
-    rpc setNodeCertifcate {
+    rpc setNodeCertificate {
         description
-            "Certifcate of the ovs node that will communicate with opendaylight through TLS connection";
+            "Set the certificate of the network node that will communicate with opendaylight through TLS connection";
         input {
            leaf node-alias {
                type string;
@@ -78,9 +70,9 @@ module aaa-cert-rpc {
         }
     }
 
-    rpc getNodeCertifcate {
+    rpc getNodeCertificate {
         description
-            "Get the ovs node certificate based on node alias";
+            "Get the network node certificate based on node alias";
         input {
            leaf node-alias {
                type string;
@@ -92,4 +84,4 @@ module aaa-cert-rpc {
             }
         }
     }
-}
\ No newline at end of file
+}