Deleting SDK Configuration by Package Name

To delete the configuration for a specific SDK application package, use the following configuration mode command:

user@host# extension package-name delete <section>

The extension package-name delete command filters for user-defined configuration based on the package named in the command starting at the top of the configuration hierarchy, or, if you use the section option, starting at the hierarchy level (statement path) specified.

Note:
Remove all the soon-to-be invalid configuration statements before removing the SDK application package.
The extension package-name delete command treats the value of package-name as a literal. It deletes only the settings contributed by the package whose package name exactly matches the given value. Using this command, you can delete all the user-defined configuration statements related to the named package.

Important note
A configuration schema defined in any native JUNOS package is never deleted by the removal of any third-party package.
Example: extension package-name delete Command
We start with the same configuration as in the last example for the extension package-name show command.:

user@host# show
system {
    radius-server {
        1.1.1.1 {
	     timeout 10;
	     sdk-backup-server 2.2.2.2;
        }
    }
}
protocols {
    ospf {
        ....
    }
    sdk-proto1 {
        ....
    }
}

By using the extension sdk-pkg1 delete command, you can achieve the same result as issuing the following two deletion commands:

user@host# extension sdk-pkg1 delete
user@host# show
system {
    radius-server {
        1.1.1.1 {
	    timeout 10;

    }
}
protocols {
    ospf {
        ....
    }
}

See Other Configuration Mode Command Examples
See also:
Guidelines for Configuring SDK Applications

Statement Summary

Configuration Command Summary

Operational Command Reference

SDK CLI Configuration


2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:26:48 2010 for Juniper Networks Partner Solution Development Platform JUNOS SDK 10.2R1 by Doxygen 1.4.5