/*
 *  @(#)HP OpenView Network Node Manager data warehouse export
 *
 *  $Revision: /main/PULSAR/15 $ 
 *  $Date: 1998/10/27 01:00 UTC $
 */
Application "Data Warehouse Export"
{
    Description {
	"HP OpenView",
	"Data Warehouse export utilities.",
	"This application provides the ability to synchronize the",
	"Data Warehouse with the latest version of Network",
	"Node Manager operational data.",
    }
    
    DisplayString "Data Warehouse Export";

    Version "NNM Release B.06.01  Apr 09 1999";
    
    Copyright {
         "Copyright (c) 1990-1999 Hewlett-Packard Company",
         "All rights reserved",
    }
    /*
     * Use -Shared so that only one instance of the process is executed.
     */
    Command -Shared "xnmappmon";

    MenuBar "Tools"  _T
    {
	<90>	"Data Warehouse" 	_D  f.menu "DataW";
    }

    Menu "DataW"
    {
	<100>	"Export Topology"	_T  CONTEXT "AllContexts || isIP || isIPX" f.action "topoExp";
	<100>	"Export Events"	_E  CONTEXT "AllContexts || isIP || isIPX" f.action "eventExp";
	<100>	"Export Trend Data"	_C  CONTEXT "AllContexts || isIP || isIPX" f.action "trendExp";
    }

#ifdef NT
    /*
     * Export topology data.  Arguments to ovdwtopo can be added at end
     */
    Action "topoExp" {
	MinSelected 0;
	CallbackArgs " -helpBrowser ovw:exporttopology_menu \
                    -commandTitle \"Topology Export\" \
		    -followOutput \
		    -unbufIO \
		    -lingerOnStop \
		    -cmd ovdwtopo -v";
    }

    /*
     * Export event data.  Arguments to ovdwtopo can be added at end
     */
    Action "eventExp" {
	MinSelected 0;
	CallbackArgs " -helpBrowser ovw:exportevent_menu \
                    -commandTitle \"Event Export\" \
		    -followOutput \
		    -unbufIO \
		    -lingerOnStop \
		    -cmd ovdwevent -v -export";
    }

    /*
     * Export trend data.  Arguments to ovdwtrend can be added at end
     */
    Action "trendExp" {
	MinSelected 0;
	CallbackArgs " -helpBrowser ovw:exporttrend_menu \
                    -commandTitle \"Trend Export\" \
		    -followOutput \
		    -unbufIO \
		    -lingerOnStop \
		    -cmd ovdwtrend -export -v ";
    }
# else /* !NT */
    /*
     * Export topology data.  Arguments to ovdwtopo can be added at end
     */
    Action "topoExp" {
	MinSelected 0;
	CallbackArgs " -helpBrowser ovw:exporttopologyMenu \
                    -commandTitle \"Topology Export\" \
		    -followOutput \
		    -unbufIO \
		    -cmd ovdwtopo -v";
    }

    /*
     * Export event data.  Arguments to ovdwtopo can be added at end
     */
    Action "eventExp" {
	MinSelected 0;
	CallbackArgs " -helpBrowser ovw:exporteventsMenu \
                    -commandTitle \"Event Export\" \
		    -followOutput \
		    -unbufIO \
		    -cmd ovdwevent -v -export";
    }

    /*
     * Export trend data.  Arguments to ovdwtrend can be added at end
     */
    Action "trendExp" {
	MinSelected 0;
	CallbackArgs " -helpBrowser ovw:exporttrendMenu \
                    -commandTitle \"Trend Export\" \
		    -followOutput \
		    -unbufIO \
		    -cmd ovdwtrend -export -v ";
    }
#endif 
}
