Skip to content

Commit

Permalink
Merge "If mac address is specified in EUI representation, convert it."
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed May 8, 2015
2 parents 55d4370 + 64b2ff4 commit 081ca34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/api-server/vnc_cfg_types.py
Expand Up @@ -378,7 +378,7 @@ def http_post_collection(cls, tenant_name, obj_dict, db_conn):
mc = obj_dict['virtual_machine_interface_mac_addresses']
if 'mac_address' in mc:
if len(mc['mac_address'])==1:
inmac = mc['mac_address']
inmac = [m.replace("-",":") for m in mc['mac_address']]
if inmac!=None:
mac_addrs_obj = MacAddressesType(inmac)
else:
Expand Down

0 comments on commit 081ca34

Please sign in to comment.