[GENIUS-42] Duplicate mac entry in Upper case in remote ucast entry table in TOR. Created: 30/Nov/16  Updated: 03/May/18  Resolved: 07/Apr/17

Status: Resolved
Project: genius
Component/s: General
Affects Version/s: (unspecified)
Fix Version/s: None

Type: Bug
Reporter: yugandhar reddy kaku Assignee: Akash Sahu
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7270

 Description   

TC:
==
Add new neutron port when TOR is disconnected and verify datapath is established after TOR connects back.

TOpology: 1CSS-2TOR

Basic config: 1 neutron VM is connected to each of the CSS and TOR devices in same network. L2gateway is configured towards both TORs.

Test Steps:
==========
>Nova delete Vm instance on CSS when both TORs are connected.->Corresponding entry is removed in remote ucast table in both the TORS and same in config DS for topology is seem.
->Disconnect one TOR
>Nova boot the VM on same neutron port.->The mac entry for VM in CSS is added in the remote ucast table for connected TOR and also in config DS for that node.
>Connect the first TOR(not clean restart)->The mac is added twice in the TOR in upper and lower cases as below

Ucast_Macs_Remote table
MAC _uuid ipaddr locator logical_switch
------------------- ------------------------------------ ------ ------------------------------------ ------------------------------------
"FA:16:3E:C9:EE:DB" 220b289f-a328-4b61-9c01-e99b08eb7d88 "" 234325b8-84b7-4a1a-bfd8-a39b303cb3b7 5b0d8b23-09d0-4257-94cd-f4e100edffb9 --->Upper case entry
"fa:16:3e:c1:1d:c1" d5548ed3-0d05-4cf1-a4c2-05c26e72724f "" fb40c87a-d333-43d9-96b4-32791bcc96f9 5b0d8b23-09d0-4257-94cd-f4e100edffb9
"fa:16:3e:c9:ee:db" 71df711f-7207-4406-9bc0-6557435a2521 "" 234325b8-84b7-4a1a-bfd8-a39b303cb3b7 5b0d8b23-09d0-4257-94cd-f4e100edffb9--->lower case entry

fa:16:3e:c9:ee:db is the mac of the neutron VM connected to CSS.

Solution :

While installing/creating RemoteUcastMacs convert the Mac to LowerCase such that duplicate entry will not get added again.



 Comments   
Comment by Akash Sahu [ 07/Apr/17 ]

Fixed

Generated at Wed Feb 07 19:59:46 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.