From 9f8b25e53c9957f09bab49a14f198356e00bce6c Mon Sep 17 00:00:00 2001 From: Sumit Naiksatam Date: Tue, 2 Aug 2011 17:08:58 -0700 Subject: [PATCH] Truncated the port profile client name length to 16 characters (ucsm excepts max 17 chars). --- quantum/plugins/cisco/ucs/cisco_ucs_network_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.45.2