Cisco-IOS-XE-cellular-rpc

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

  • Version: 2019-07-01

    Cisco-IOS-XE-cellular-rpc@2019-07-01


    
      module Cisco-IOS-XE-cellular-rpc {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-cellular-rpc";
    
        prefix ios-xe-cell-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 Cellular RPC YANG module for IOS
         Copyright (c) 2016-2019 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2019-07-01" {
          description
            "Establish semantic version baseline";
        }
    
        revision "2018-12-06" {
          description
            "created for NED RPC modularisation";
        }
    
        cisco-semver:module-version "1.0.0";
    
        rpc cellular {
          input {
            leaf if-name-drop-node-name {
              type string;
            }
    
            container lte {
              choice action {
                container technology {
                  choice action {
                    leaf lte {
                      type empty;
                    }
                    leaf auto {
                      type empty;
                    }
                    leaf umts {
                      type empty;
                    }
                  }  // choice action
                }  // container technology
                leaf modem-reset {
                  type empty;
                }
                container profile {
                  choice prof {
                    case delete {
                      description
                        "Cellular Profile configuration";
                      container delete {
                        description
                          "Delete a Profile";
                        leaf profile-id-drop-node-name {
                          type uint8 {
                            range "1..16";
                          }
                          description
                            "Profile ID";
                        }
                      }  // container delete
                    }  // case delete
                    container create {
                      description
                        "Create a Profile";
                      leaf profile-id-drop-node-name {
                        type uint8 {
                          range "1..16";
                        }
                        description "Profile ID";
                      }
    
                      leaf prof-name-drop-node-name {
                        type string;
                        description
                          "Profile name";
                      }
    
                      choice auth {
                        leaf none {
                          type empty;
                        }
                        leaf chap {
                          type empty;
                        }
                        leaf pap {
                          type empty;
                        }
                        leaf pap-chap {
                          type empty;
                        }
                      }  // choice auth
    
                      leaf user-name-drop-node-name {
                        type string;
                        description
                          "Username for authentication";
                      }
    
                      leaf password-drop-node-name {
                        type string;
                        description
                          "Password for authentication";
                      }
    
                      choice pdn {
                        leaf ipv4 {
                          type empty;
                        }
                        leaf ipv6 {
                          type empty;
                        }
                        leaf ipv4v6 {
                          type empty;
                        }
                      }  // choice pdn
                    }  // container create
                  }  // choice prof
                }  // container profile
              }  // choice action
            }  // container lte
          }
    
          output {
            leaf result {
              type string;
              description
                "Output returned by the network element";
            }
          }
        }  // rpc cellular
      }  // module Cisco-IOS-XE-cellular-rpc
    

© 2023 YumaWorks, Inc. All rights reserved.