Cisco-IOS-XE-sm-events-oper

This module contains a collection of YANG definitions for session operations events generated from the Cisco Wired devices. Thes...

  • Version: 2020-07-01

    Cisco-IOS-XE-sm-events-oper@2020-07-01


    
      module Cisco-IOS-XE-sm-events-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XE-sm-events-oper";
    
        prefix sm-event-oper;
    
        import Cisco-IOS-XE-sm-enum-types {
          prefix sm-enum-types;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
        import cisco-semver {
          prefix cisco-semver;
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
         Customer Service
    
         Postal: 170 W Tasman Drive
         San Jose, CA 95134
    
         Tel: +1 1800 553-NETS
    
         E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
         for session operations events generated from the Cisco Wired
         devices. These models may produce high volume of data.
         Copyright (c) 2019-2020 by Cisco Systems, Inc.
         All rights reserved";
    
        revision "2020-07-01" {
          description
            "- Remove unused empty container sm-events";
          reference
            "2.0.0";
    
        }
    
        revision "2020-03-01" {
          description
            "- Added interface name to session event data";
          reference
            "1.1.0";
    
        }
    
        revision "2019-11-01" {
          description "Initial revision";
          reference
            "1.0.0";
    
        }
    
        cisco-semver:module-version "2.0.0";
        cisco-semver:module-version "1.1.0";
        cisco-semver:module-version "1.0.0";
    
        notification sessionevent {
          description
            "Session event Notification";
          leaf client-mac {
            type yang:mac-address;
            description
              "Wired Client's MAC Address";
          }
    
          leaf audit-session-id {
            type string;
            description
              "Audit session id of the session";
          }
    
          leaf method-id {
            type sm-enum-types:session-auth-method-id;
            description
              "Authentication method used for the session";
          }
    
          leaf username {
            type string;
            description
              "Client's username for a session";
          }
    
          leaf client-join-time {
            type yang:date-and-time;
            description "Client's join time";
          }
    
          leaf server-address {
            type inet:ip-address;
            description
              "IP address for the authentication server";
          }
    
          leaf interface-name {
            type string;
            description
              "Name of the interface connected to client";
          }
    
          choice session-event-choice {
            description
              "Union of Session Events";
            container authc-success-params {
              description
                "Session event result authentication success parameters";
              leaf eap-method {
                type sm-enum-types:session-eap-method;
                description
                  "EAP method for a dot1x client";
              }
            }  // container authc-success-params
            container authc-failure-params {
              description
                "Session event result authentication failure parameters";
              leaf failure-reason {
                type sm-enum-types:session-event-failure-reason;
                description
                  "Reason for authentication session failure";
              }
    
              leaf failed-attribute {
                type string;
                description
                  "Failed Attribute in case of session failure";
              }
            }  // container authc-failure-params
            container authz-success-params {
              description
                "Session event result authorization success parameters";
              leaf res-vlan-id {
                type uint32;
                description
                  "Resultant Vlan ID applied on a session";
              }
    
              leaf res-vlan-name {
                type string;
                description
                  "Resultant Vlan name applied on a session";
              }
    
              leaf sgt {
                type uint32;
                description
                  "Security Group Tag applied on a session";
              }
    
              leaf eap-method {
                type sm-enum-types:session-eap-method;
                description
                  "EAP method for a dot1x client";
              }
            }  // container authz-success-params
            container authz-failure-params {
              description
                "Session event result authorization failure parameters";
              leaf failure-reason {
                type sm-enum-types:session-event-failure-reason;
                description
                  "Reason for authentication session failure";
              }
    
              leaf failed-attribute {
                type string;
                description
                  "Failed Attribute in case of session failure";
              }
            }  // container authz-failure-params
            container policy-change-params {
              description
                "Session event policy update parameters";
              leaf res-vlan-id {
                type uint32;
                description
                  "Resultant Vlan ID applied on a session";
              }
    
              leaf res-vlan-name {
                type string;
                description
                  "Resultant Vlan name applied on a session";
              }
    
              leaf sgt {
                type uint32;
                description
                  "Security Group Tag applied on a session";
              }
    
              leaf eap-method {
                type sm-enum-types:session-eap-method;
                description
                  "EAP method for a dot1x client";
              }
            }  // container policy-change-params
            container coa-params {
              description
                "Event coa start parameters";
              leaf coa-req-type {
                type sm-enum-types:session-coa-request-type;
                description "COA request type";
              }
            }  // container coa-params
            container security-violation-params {
              description
                "Event security violation parameters";
              leaf security-violation-action {
                type sm-enum-types:session-security-violation-action;
                description
                  "Security violation type";
              }
            }  // container security-violation-params
          }  // choice session-event-choice
        }  // notification sessionevent
      }  // module Cisco-IOS-XE-sm-events-oper
    

© 2023 YumaWorks, Inc. All rights reserved.