README and name in column names

This commit is contained in:
Matthew Stidham
2021-01-27 12:44:00 -08:00
committed by Jed Reynolds
parent c45dad5fc7
commit ea80924d70
2 changed files with 5 additions and 3 deletions

View File

@@ -27,6 +27,8 @@ Read more examples in the [scripting LANforge](http://www.candelatech.com/lfcli_
### Python Scripts ### ### Python Scripts ###
When starting to use Python, please run the update_deps.py script located in py-scripts to install all necessary dependencies for this library.
| Name | Purpose | | Name | Purpose |
|------|---------| |------|---------|
| `lf_tos_test.py` | Python script to generate traffic at different QoS and report performance in a spreadsheet | | `lf_tos_test.py` | Python script to generate traffic at different QoS and report performance in a spreadsheet |
@@ -121,7 +123,7 @@ one script to a separate directory is going to break its requirements.
### Requirements ### ### Requirements ###
The perl scripts require the following perl packages to be installed. Most of these The perl scripts require the following perl packages to be installed. Most of these
perl packages are available through your repository as `.deb` or `.rpm` packages. perl packages are available through your repository as `.deb` or `.rpm` packages.
| Perl Package | RPM | Required | | Perl Package | RPM | Required |
| -------------------|------------------|----------------| | -------------------|------------------|----------------|
@@ -161,5 +163,3 @@ Please contact support@candelatech.com if you have any questions.
_Thanks, _Thanks,
Ben_ Ben_

View File

@@ -1173,6 +1173,8 @@ class L3CXProfile(BaseProfile):
# Step 1, column names . what is this for? # Step 1, column names . what is this for?
fields=None fields=None
if 'Name' not in col_names':
col_names.insert(0,'Name')
if col_names is not None and len(col_names) > 0: if col_names is not None and len(col_names) > 0:
fields = ",".join(col_names) fields = ",".join(col_names)
header_row=col_names header_row=col_names