Change 8182

sven_erik_knop (Sven Erik Knop)
Sven Erik Knop committed this change into //guest/sven_erik_knop/P4Pythonlib/scripts
Request Review
Download .zip
ConfigGenerator.py Mark 1

A simple Python tool for P4V that takes four parameters:

root PORT CLIENT USER

and generates a config file out of it. Requires that P4CONFIG is set either in
the environment or registry and accessible from P4V (Mac users need to use p4 set)

Also requires a simple custom tool with these parameters:

Application: /path/to/ConfigGenerator.py
Arguments = $r $p $c $u
Run in terminal window recommended for debugging purposes

Tested with Python 2.7, but should run with at least 2.6 and 3.X (not tested)
  • Files 1
  • Comments 0
0 edited 1 added 0 deleted
ConfigGenerator.py#1
Loading...
Tip: Use n and p to cycle through the changes.