]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Truncated the port profile client name length to 16 characters (ucsm excepts max...
authorSumit Naiksatam <snaiksat@cisco.com>
Wed, 3 Aug 2011 00:08:58 +0000 (17:08 -0700)
committerSumit Naiksatam <snaiksat@cisco.com>
Wed, 3 Aug 2011 00:08:58 +0000 (17:08 -0700)
quantum/plugins/cisco/ucs/cisco_ucs_network_driver.py

index 593706e3db407702e2fee4cdbda6676e081155a2..9383f9b9650117979e1732d5d5c15015f551b93b 100644 (file)
@@ -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,