junos-rpc-captive-portal

Junos RPC YANG module for captive-portal command(s)

  • Version: 2019-01-01

    junos-rpc-captive-portal@2019-01-01


    
      module junos-rpc-captive-portal {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos/rpc/captive-portal";
    
        prefix captive-portal;
    
        import junos-common-types {
          prefix jt;
          revision-date "2019-01-01";
        }
    
        organization "Juniper Networks, Inc.";
    
        contact "yang-support@juniper.net";
    
        description
          "Junos RPC YANG module for captive-portal command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-captive-portal-interface-information {
          description
            "Show Captive Portal interface information";
          input {
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
              default "brief";
            }
    
            leaf interface-name {
              type union {
                type jt:interface-name;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description "Name of interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml cp-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-captive-portal-interface-information
    
        rpc get-captive-portal-authentication-failed-users {
          description
            "List users who have failed captive-portal authentication";
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml dot1x-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-captive-portal-authentication-failed-users
    
        rpc get-captive-portal-firewall-interface {
          description
            "Show captive-portal firewall statistics for an interface";
          input {
            leaf interface-name {
              type union {
                type jt:interface-name;
                type string {
                  pattern "<.*>|$.*";
                }
              }
              description
                "Show firewall statistics for this interface";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml dot1x-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-captive-portal-firewall-interface
      }  // module junos-rpc-captive-portal
    

© 2023 YumaWorks, Inc. All rights reserved.