]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
BigSwitch: Fix error for server config check
authorKevin Benton <blak111@gmail.com>
Fri, 7 Mar 2014 18:26:47 +0000 (10:26 -0800)
committerKevin Benton <blak111@gmail.com>
Fri, 7 Mar 2014 18:28:53 +0000 (10:28 -0800)
commit97c0723cfe7ffa1dbc6c278110029df755df8045
tree9c3c721c35a8440715730a272ddaacd77ab113ea
parent005fec677c3bf8b2aa0df68c4aedc2b708ec7caf
BigSwitch: Fix error for server config check

Raises config error when a port is incorrectly
configured for a server instead of getting a
ValueError when python tries to convert it to
an integer.

Closes-Bug: #1289132
Change-Id: Ifec0bec5640a4a57859f2673c46c610f1d21c36c
neutron/plugins/bigswitch/servermanager.py
neutron/tests/unit/bigswitch/test_servermanager.py [new file with mode: 0644]