Deprecate old config-manager model attributes
[osm/SO.git] / models / plugins / yang / mano-types.yang
index 4ec602c..c6b4003 100644 (file)
@@ -212,61 +212,18 @@ module mano-types
       choice config-method {
         description
             "Defines the configuration method for the VNF.";
-        case netconf {
-          description
-              "Use NETCONF for configuring the VNF.";
-          container netconf {
-            leaf target {
-              description
-                  "Netconf configuration target";
-              type enumeration {
-                enum running;
-                enum candidate;
-              }
-            }
-
-            leaf protocol {
-              description
-                  "Protocol to use for NETCONF, such as ssh";
-              type enumeration {
-                enum None;
-                enum ssh;
-              }
-            }
-
-            leaf port {
-              description
-                  "Port for the NETCONF server.";
-              type inet:port-number;
-            }
-          }
-        }
-
-        case rest {
-          description
-              "Use REST for configuring the VNF.";
-          container rest {
-            leaf port {
-              description
-                  "Port for the REST server.";
-              type inet:port-number;
-            }
-          }
-        }
-
         case script {
           description
               "Use custom script for configuring the VNF.
-               This script is executed in the context of 
+               This script is executed in the context of
                Orchestrator (The same system and environment
                as the Launchpad).";
           container script {
             leaf script-type {
               description
-                  "Script type - currently supported : bash, expect";
+                  "Script type - currently supported : python";
               type enumeration {
-                enum bash;
-                enum expect;
+                enum python;
               }
             }
           }
@@ -284,27 +241,6 @@ module mano-types
         }
       }
 
-      container config-access {
-        leaf mgmt-ip-address {
-          description
-              "IP address to be used to configure this VNF,
-               optional if it is possible to resolve dynamically.";
-          type inet:ip-address;
-        }
-
-        leaf username {
-          description 
-              "User name for configuration.";
-          type string;
-        }
-
-        leaf password {
-          description 
-              "Password for configuration access authentication.";
-          type string;
-        }
-      }
-
       container config-attributes {
         description
             "Miscellaneous input parameters to be considered
@@ -353,12 +289,6 @@ module mano-types
         key "seq";
         uses initial-config;
       }
-
-      leaf config-template {
-        description
-            "Configuration template for each VNF";
-        type string;
-      }
     }
   } // END - grouping vnf-configuration