[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python in Domain Configurations



On Fri, Jul 07, 2023 at 03:13:07PM -0700, Elliott Mitchell wrote:
> 
> The only context I could find was 54fbaf446b and
> https://wiki.xenproject.org/wiki/PythonInXlConfig which don't explain
> the reasoning.
> 
> Would the maintainers be amenable to revisiting the decision to remove
> support for full Python in domain configuration files?

Any chance of this getting a response?

On examination it appears domain configuration files are a proper subset
of Python.  The interface to the parser is a bit interesting, but it
looks fairly simple to replace the parser with libpython.

My goal is to create an init script for some automatically started
domains.  Issue is there can be ordering concerns with domain start/stop,
and this seems best handled by adding an extra setting to the
configuration files.  If full Python syntax is available, I can use that
for this extra data.


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg@xxxxxxx  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.