© 2002 IBM Corporation Confidential | Date | Other Information, if necessary © Wind River Systems, released under EPL 1.0. All logos are TM of their respective.

Презентация:



Advertisements
Похожие презентации
Mobility Control and one-X Mobile. Mobility Control User Configuration Mobile Call Control requires PRI-U, BRI or SIP (RFC2833) trunks in the IP Office.
Advertisements

© 2009 Avaya Inc. All rights reserved.1 Chapter Two, Voic Pro Components Module Two – Actions, Variables & Conditions.
HPC Pipelining Parallelism is achieved by starting to execute one instruction before the previous one is finished. The simplest kind overlaps the execution.
PAT312, Section 21, December 2006 S21-1 Copyright 2007 MSC.Software Corporation SECTION 21 GROUPS.
Copyright © 2006 Intel Corporation, released under EPL version /20061 Eclipse DSDP-TM Target Connection Adapters Peter Lachner WW0806 rev 1.0.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Complex MPLS VPNs Introducing Central Services VPNs.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Complex MPLS VPNs Using Advanced VRF Import and Export Features.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary November 4, 2014 Copyright © 2006 Eclipse Foundation, Inc., Made available.
Copyright (c) 2006 IBM, released under EPL version 1.0 RSE David McKnight.
Lecture # Computer Architecture Computer Architecture = ISA + MO ISA stands for instruction set architecture is a logical view of computer system.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Using Multihomed BGP Networks.
© 2006 by IBM and Wind River Systems; made available under the EPL v1.0 | 22-March-2006 Martin Oberhuber, Wind River Systems
WS8-1 PAT328, Workshop 8, September 2004 Copyright 2004 MSC.Software Corporation WORKSHOP 8 Viewing Results for MSC.Nastran Ply PCOMPG Entries Using MSC.Patran.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Using MPLS VPN Mechanisms of Cisco IOS Platforms.
© 2006 Cisco Systems, Inc. All rights reserved. HIPS v Configuring Rules Rule Basics.
Copyright 2003 CCNA 4 Chapter 11 Scaling IP Addresses By Your Name.
Overview of the Paysonnel CE. Overview Paysonnel CE Go to URL- 1 Click [Login to Paysonnel CE] 2 How to Log-in to Paysonnel CE 1 2.
In mathematics, the notion of permutation is used with several slightly different meanings, all related to the act of permuting (rearranging) objects.
Loader Design Options Linkage Editors Dynamic Linking Bootstrap Loaders.
Транксрипт:

© 2002 IBM Corporation Confidential | Date | Other Information, if necessary © Wind River Systems, released under EPL 1.0. All logos are TM of their respective companies. Component Based Launching (Launch Actions) Work in Progress at Wind River

2 © Wind River Systems, released under EPL 1.0. All logos are TM of their respective companies. Background When working with devices, Launching involves a number of actions E.g. Connect, Load modules via JTAG, configure hardware, attach debugger E.g. load software and test data to a distributed set of computers, then start the distributed application on a number of hosts E.g. start gdbserver on remote target through ssh, download executable via FTP, then connect gdb to gdbserver Build-before-launch can also be modeled as a Launch Component, allowing to separate tool-specific code (build) from target-specific code Actions should be intelligent, e.g. avoid downloading data again when it is already present at the target There is a need for scripts to execute such complex launches It should be possible to assemble scripts by UI, and by editing text

3 © Wind River Systems, released under EPL 1.0. All logos are TM of their respective companies. What is a Launch Component? Launch Action Delegate: execute the action on a given target The delegate is associated with a particular type of connection One action (e.g. Download) might have delegates for multiple different types of connection. This makes sense as long as configuration of the action is the same on all connections. The delegate may check target state (precondition, postcondition) to see if it can / needs to be actually executed (e.g. avoid re-download) Launch Action UI: configure properties of the action Properties can also be set programmatically Persist as Text Write action configuration to a String that can be used in a text-based script Restore from Text Parse a string (from a script) to restore action configuration

4 © Wind River Systems, released under EPL 1.0. All logos are TM of their respective companies. Launch Sequencer A Generic Launch Configuration Launch Components (registered by extension point) are assembled into a list of actions. Each Action operates on one selected node (context) from the RSE Target Tree: Connection, Subsystem, Core, Process, Task… The Launch has a notion of Current Context (e.g. current connection). Actions that create a new context set it as the new current context. By UI, only a simple (linear) list of actions is possible. Future: the script can be edited in order to allow conditionals based on target state, loops and parallel execution In addition to the global target state, the Sequencer maintains a Launching State (property map). Actions can set and query properties in the Launching State.

5 © Wind River Systems, released under EPL 1.0. All logos are TM of their respective companies. Custom Launches The Generic Launch is flexible, but hard to configure. Custom Launches can provide a Launch Configuration UI for special applications, as we all know it. Actual Execution of the Launch is done through the registered Launch Actions (hard-coded sequence). Action Configuration is set programmatically from the Launch Configuration UI. Duplication of code for multiple similar launches is avoided.

6 © Wind River Systems, released under EPL 1.0. All logos are TM of their respective companies. Questions / Discussion What sort of scripts to use? Simple text like shellscripts, e.g. download –verify ${project_loc}/myFile.out Integration e.g. through Jython act = DownloadAction( ${project_loc}/myFile.out ) act.SetProperty( verify, true ) act.execute( ${current_target} )