[pykickstart][rhel7-branch/master][v3][PATCH 0/2] Validate network interface name when parsing the kickstart

Martin Kolman mkolman at redhat.com
Wed Sep 10 11:03:47 UTC 2014


Changes from v2:
* used partition() for parsing the name
* fixed the untranslatable error message
* added tests for incorrect usage of the 'vlan' prefix
* made the VLAN max/min module contants
* that _NoneType_ thing

Martin Kolman (2):
  Validate network interface name when parsing the kickstart (#1081982)
  Add tests for --interfacename validation

 pykickstart/commands/network.py | 57 +++++++++++++++++++++++++++++++++++++++++
 tests/commands/network.py       | 32 +++++++++++++++++++++++
 2 files changed, 89 insertions(+)

-- 
1.9.3



More information about the anaconda-patches mailing list