Truncated the port profile client name length to 16 characters (ucsm excepts max 17 chars).

This commit is contained in:
Sumit Naiksatam 2011-08-02 17:08:58 -07:00
parent 5c0dbe9aee
commit 9f8b25e53c
1 changed files with 1 additions and 1 deletions

View 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,