Cisco-IOS-XE-utd-rpc

NED UTD RPC YANG module for IOS Copyright (c) 2016-2019 by Cisco Systems, Inc. All rights reserved.

  • Version: 2019-11-01

    Cisco-IOS-XE-utd-rpc@2019-11-01


    
      module Cisco-IOS-XE-utd-rpc {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-utd-rpc";
    
        prefix ios-xe-utd-rpc;
    
        import cisco-semver {
          prefix cisco-semver;
        }
        import Cisco-IOS-XE-rpc {
          prefix ios-xe-rpc;
        }
    
        organization "Cisco Systems";
    
        contact "<mailto:cs-yang@cisco.com>";
    
        description
          "NED UTD RPC YANG module for IOS
         Copyright (c) 2016-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-11-01" {
          description "- Updated augment";
        }
    
        revision "2019-07-01" {
          description
            "- Establish semantic version baseline
           - Created for NED RPC modularisation";
        }
    
        cisco-semver:module-version "2.0.0";
        cisco-semver:module-version "1.0.0";
    
        rpc utd {
          description
            "Unified Threat Defense commands";
          input {
            choice feature {
              container threat-inspection {
                description
                  "IPS/IDS related commands";
                container signature {
                  description
                    "Provide actions to be taken for signatures";
                  choice method {
                    container saved-drop-node-name {
                      leaf update {
                        type empty;
                        mandatory true;
                        description
                          "Update the IPS/IDS signature rules";
                      }
                    }  // container saved-drop-node-name
                    container manual-drop-node-name {
                      container update {
                        description
                          "Update the IPS/IDS signature rules";
                        choice type {
                          container file {
                            description
                              "Perform an update of the signature package using a local file";
                            leaf filename-drop-node-name {
                              type string;
                              mandatory true;
                            }
                          }  // container file
                          container server {
                            description
                              "Provide config options for the signature update server";
                            choice type {
                              container cisco {
                                description
                                  "Use Cisco site to provide updates";
                                leaf username {
                                  type string;
                                  mandatory
                                    true;
                                  description
                                    "Provide the username for authentication";
                                }
    
                                leaf password {
                                  type string;
                                  mandatory
                                    true;
                                  description
                                    "Provide the password for authentication";
                                }
                              }  // container cisco
                              container url {
                                description
                                  "Enter the complete URL for the path to the update server";
                                choice url-uname-passwd {
                                  container credentials-drop-node-name {
                                    leaf url-drop-node-name {
                                      type string;
                                      mandatory
                                        true;
                                    }
    
                                    leaf username {
                                      type string;
                                      mandatory
                                        true;
                                      description
                                        "Provide the username for authentication";
                                    }
    
                                    leaf password {
                                      type string;
                                      mandatory
                                        true;
                                      description
                                        "Provide the password for authentication";
                                    }
                                  }  // container credentials-drop-node-name
                                  container no-credentials-drop-node-name {
                                    leaf url-drop-node-name {
                                      type string;
                                      mandatory
                                        true;
                                    }
                                  }  // container no-credentials-drop-node-name
                                }  // choice url-uname-passwd
                              }  // container url
                            }  // choice type
                          }  // container server
                        }  // choice type
                      }  // container update
                    }  // container manual-drop-node-name
                  }  // choice method
                }  // container signature
              }  // container threat-inspection
              container web-filter {
                description
                  "Web-filter related commands";
                container database {
                  description
                    "Provide actions to be taken for the web-filter database";
                  leaf update {
                    type empty;
                    mandatory true;
                    description
                      "Update the web-filter database";
                  }
                }  // container database
              }  // container web-filter
              container file-inspection {
                description
                  "UTD file inspection commands";
                container analysis {
                  description
                    "UTD file analysis related commands";
                  leaf apikey {
                    type string {
                      length "1..128";
                    }
                    mandatory true;
                    description
                      "Provide UTD file analysis apikey";
                  }
                }  // container analysis
              }  // container file-inspection
            }  // choice feature
          }
    
          output {
            leaf result {
              type string;
              description
                "Output returned by the network element";
            }
          }
        }  // rpc utd
      }  // module Cisco-IOS-XE-utd-rpc
    

© 2023 YumaWorks, Inc. All rights reserved.