From: Sumit Naiksatam Date: Wed, 3 Aug 2011 00:08:58 +0000 (-0700) Subject: Truncated the port profile client name length to 16 characters (ucsm excepts max... X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=9f8b25e53c9957f09bab49a14f198356e00bce6c;p=openstack-build%2Fneutron-build.git Truncated the port profile client name length to 16 characters (ucsm excepts max 17 chars). --- diff --git a/quantum/plugins/cisco/ucs/cisco_ucs_network_driver.py b/quantum/plugins/cisco/ucs/cisco_ucs_network_driver.py index 593706e3d..9383f9b96 100644 --- a/quantum/plugins/cisco/ucs/cisco_ucs_network_driver.py +++ b/quantum/plugins/cisco/ucs/cisco_ucs_network_driver.py @@ -198,7 +198,7 @@ class CiscoUCSMDriver(): ucsm_password): data = self._create_profile_post_data(profile_name, vlan_name) self._post_data(ucsm_ip, ucsm_username, ucsm_password, data) - data = self._create_profile_client_post_data(profile_name) + data = self._create_profile_client_post_data(profile_name[-16:]) self._post_data(ucsm_ip, ucsm_username, ucsm_password, data) def change_vlan_in_profile(self, profile_name, old_vlan_name,