D3f0 / D3f0/coreemu

Add Python-based hook scripting capability

Open
#107 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Enhancement
Dominant language
Tcl
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
An enhancement.

In the same way that external scripts are executed in response to the
state-change hooks, there is a need for the same capability to run Python code
at these points. The external scripts do not have access to the Python
environment, so they cannot make decisions based upon the current state of that
environment.

For example, setting an environment variable that contains the IP addresses of
all the configured nodes in the CONFIGURATION phase.

```

Original issue reported on code.google.com by `randomgr...@gmail.com` on 26 Jan 2012 at 6:14

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name implementation files or tests. Start by locating the state-change hook execution path and the CONFIGURATION phase, then determine how external scripts are invoked and where the current Python environment is available. Done means Python code can run at those hook points and access current state such as configured node IP addresses.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.