Cisco-IOS-XR-appmgr-act

This module contains a collection of YANG definitions for Cisco IOS-XR action package configuration. Copyright (c) 2020-2021 by...

  • Version: 2021-03-01

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


    
      module Cisco-IOS-XR-appmgr-act {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-appmgr-act";
    
        prefix appmgr-act;
    
        import cisco-semver {
          prefix semver;
        }
    
        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 action package configuration.
         
         Copyright (c) 2020-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-03-01" {
          description
            "Adding support for uninstall by source.";
        }
    
        revision "2021-02-15" {
          description
            "Support for process script actions added.";
        }
    
        revision "2020-07-14" {
          description
            "Establish semantic version baseline.";
        }
    
        semver:module-version "1.0.0";
    
        rpc appmgr-app-start {
          description "Start an application";
          input {
            leaf name {
              type string;
              mandatory true;
              description "App name";
            }
          }
        }  // rpc appmgr-app-start
    
        rpc appmgr-app-stop {
          description "Stop an application";
          input {
            leaf name {
              type string;
              mandatory true;
              description "App name";
            }
          }
        }  // rpc appmgr-app-stop
    
        rpc appmgr-app-kill {
          description "Kill an application";
          input {
            leaf name {
              type string;
              mandatory true;
              description "App name";
            }
          }
        }  // rpc appmgr-app-kill
    
        rpc appmgr-app-copy {
          description
            "Copy files/folders between an application and an XR filesystem";
          input {
            leaf source {
              type string;
              mandatory true;
              description
                "SOURCE-FILESYSTEM:PATH or SOURCE-APPLICATION:PATH (eg. harddisk:foo/bar or myapp:foo/bar)";
            }
    
            leaf destination {
              type string;
              mandatory true;
              description
                "DESTINATION-FILESYSTEM:PATH or DESTINATION-APPLICATION:PATH (eg. harddisk:foo/bar or myapp:foo/bar)";
            }
          }
        }  // rpc appmgr-app-copy
    
        rpc appmgr-package-install {
          description "Install an rpm.";
          input {
            leaf rpm {
              type string;
              mandatory true;
              description "Path to package rpm";
            }
          }
        }  // rpc appmgr-package-install
    
        rpc appmgr-package-uninstall {
          description "Uninstall a package.";
          input {
            leaf package {
              type string;
              mandatory true;
              description "Package name";
            }
          }
        }  // rpc appmgr-package-uninstall
    
        rpc appmgr-package-uninstall-source {
          description
            "Uninstall a package by source name.";
          input {
            leaf source {
              type string;
              mandatory true;
              description "Source name";
            }
          }
        }  // rpc appmgr-package-uninstall-source
      }  // module Cisco-IOS-XR-appmgr-act
    

© 2023 YumaWorks, Inc. All rights reserved.