Cisco-IOS-XR-appmgr-oper

This module contains a collection of YANG definitions for Cisco IOS-XR appmgr package operational data. This module contains de...

  • Version: 2021-03-01

    Cisco-IOS-XR-appmgr-oper@2021-03-01


    
      module Cisco-IOS-XR-appmgr-oper {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-appmgr-oper";
    
        prefix appmgr-oper;
    
        import Cisco-IOS-XR-types {
          prefix xr;
        }
        import cisco-semver {
          prefix semver;
        }
    
        include Cisco-IOS-XR-appmgr-oper-sub1 {
          revision-date "2021-03-01";
        }
    
        organization "Cisco Systems, Inc.";
    
        contact
          "Cisco Systems, Inc.
    Customer Service
    
    Postal: 170 West Tasman Drive
    San Jose, CA 95134
    
    Tel: +1 800 553-NETS
    
    E-mail: cs-yang@cisco.com";
    
        description
          "This module contains a collection of YANG definitions
    for Cisco IOS-XR appmgr package operational data.
    
    This module contains definitions
    for the following management objects:
      appmgr: Appmgr Operational data space
    
    Copyright (c) 2013-2021 by Cisco Systems, Inc.
    All rights reserved.";
    
        revision "2021-03-01" {
          description
            "Adding information about installed packages";
        }
    
        revision "2021-02-15" {
          description
            "Support for process scripts.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "1.0.0";
    
        container appmgr {
          config false;
          description
            "Appmgr Operational data space";
          container packages {
            description
              "Packages managed by the App Mgr";
            container installed {
              description "Installed packages";
              leaf-list package {
                type Package;
                description "Packages";
              }
            }  // container installed
          }  // container packages
    
          container sources {
            description
              "Sources downloaded by the App Manager";
            list source {
              key "name";
              description
                "Information about a source";
              leaf name {
                type xr:Cisco-ios-xr-string;
                description "Name";
              }
    
              leaf name-xr {
                type string;
                description "Source name";
              }
    
              leaf file {
                type string;
                description "Source file";
              }
    
              leaf package {
                type Package;
                description "Parent package";
              }
            }  // list source
          }  // container sources
    
          container applications {
            description
              "Applications managed by the App Mgr";
            list application {
              key "name";
              description
                "Information about individual application";
              container stats {
                description
                  "Information about an application";
                container var-stats {
                  description
                    "App Variable Stats";
                  container docker-stats {
                    when "../type = 'docker'" {
                      description
                        "../Type = 'Docker'";
                    }
                    description
                      "Stats for docker applications";
                    leaf container {
                      type string;
                      description
                        "Container name or ID (user input)";
                    }
    
                    leaf name {
                      type string;
                      description
                        "Container name";
                    }
    
                    leaf id {
                      type string;
                      description "Container ID";
                    }
    
                    leaf cpu-perc {
                      type string;
                      units "percentage";
                      description
                        "CPU percentage";
                    }
    
                    leaf mem-usage {
                      type string;
                      description "Memory usage";
                    }
    
                    leaf net-io {
                      type string;
                      description "Network IO";
                    }
    
                    leaf block-io {
                      type string;
                      description "Block IO";
                    }
    
                    leaf mem-perc {
                      type string;
                      units "percentage";
                      description
                        "Memory percentage";
                    }
    
                    leaf pids {
                      type string;
                      description
                        "Number of PIDs";
                    }
                  }  // container docker-stats
    
                  leaf type {
                    type Appmgr-app;
                    description "Type";
                  }
                }  // container var-stats
              }  // container stats
    
              container info {
                description
                  "Information about an application";
                container var-info {
                  description
                    "App Variable Info";
                  container docker-info {
                    when "../type = 'docker'" {
                      description
                        "../Type = 'Docker'";
                    }
                    description
                      "Details of docker applications";
                    leaf id {
                      type string;
                      description "Container ID";
                    }
    
                    leaf image {
                      type string;
                      description "Image ID";
                    }
    
                    leaf command {
                      type string;
                      description
                        "Quoted command";
                    }
    
                    leaf created-at {
                      type string;
                      description
                        "Time when the container was created";
                    }
    
                    leaf running-for {
                      type string;
                      description
                        "Elapsed time since the container was started.";
                    }
    
                    leaf ports {
                      type string;
                      description
                        "Exposed ports.";
                    }
    
                    leaf status {
                      type string;
                      description
                        "Container status.";
                    }
    
                    leaf size {
                      type string;
                      description
                        "Container disk size.";
                    }
    
                    leaf names {
                      type string;
                      description
                        "Container names.";
                    }
    
                    leaf labels {
                      type string;
                      description
                        "All labels assigned to the container.";
                    }
    
                    leaf mounts {
                      type string;
                      description
                        "Names of the volumes mounted in this container.";
                    }
    
                    leaf networks {
                      type string;
                      description
                        "Names of the networks attached to this container
    .";
                    }
    
                    leaf local-volumes {
                      type string;
                      description
                        "Names of the local volumes mounted in this
    container";
                    }
    
                    list vrf-relay-info {
                      description
                        "VRF forwarding relay information";
                      leaf name {
                        type string;
                        description
                          "Container Name";
                      }
    
                      leaf status {
                        type string;
                        description
                          "Vrf Forwarding Relay status.";
                      }
    
                      leaf error-info {
                        type string;
                        description
                          "Vrf Forwarding Relay error information.";
                      }
    
                      leaf src-vrf {
                        type string;
                        description
                          "Source VRF.";
                      }
    
                      leaf src-port {
                        type string;
                        description
                          "Source Port.";
                      }
    
                      leaf dest-vrf {
                        type string;
                        description
                          "Destination VRF.";
                      }
    
                      leaf dest-port {
                        type string;
                        description
                          "Destination Port.";
                      }
    
                      leaf ip-range {
                        type string;
                        description
                          "IP address range";
                      }
                    }  // list vrf-relay-info
                  }  // container docker-info
    
                  leaf type {
                    type Appmgr-app;
                    description "Type";
                  }
                }  // container var-info
    
                leaf name {
                  type string;
                  description "Application name";
                }
    
                leaf type {
                  type Appmgr-app;
                  description "Application type";
                }
    
                leaf source {
                  type string;
                  description
                    "Application source";
                }
    
                leaf config-state {
                  type Appmgr-app-state;
                  description
                    "Application config state";
                }
    
                leaf error-info {
                  type string;
                  description "App Error Info";
                }
              }  // container info
    
              leaf name {
                type xr:Cisco-ios-xr-string;
                description "Name";
              }
            }  // list application
          }  // container applications
        }  // container appmgr
      }  // module Cisco-IOS-XR-appmgr-oper
    

© 2023 YumaWorks, Inc. All rights reserved.