endpoint id (eid) now supports greater than values.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-04-20 06:48:41 -06:00
parent 4e4e5d198f
commit 42e5e5b385
4 changed files with 19 additions and 12 deletions

View File

@@ -110,7 +110,7 @@ class HTTPProfile(LFCliBase):
if (ip_addr is None) or (ip_addr == ""):
raise ValueError("HTTPProfile::create encountered blank ip/hostname")
if len(self.local_realm.name_to_eid(port_name)) == 3:
if len(self.local_realm.name_to_eid(port_name)) >= 3:
shelf = self.local_realm.name_to_eid(port_name)[0]
resource = self.local_realm.name_to_eid(port_name)[1]
name = self.local_realm.name_to_eid(port_name)[2]