{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/SONiC/issues/192","repository_url":"https://api.github.com/repos/Azure/SONiC","labels_url":"https://api.github.com/repos/Azure/SONiC/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/Azure/SONiC/issues/192/comments","events_url":"https://api.github.com/repos/Azure/SONiC/issues/192/events","html_url":"https://github.com/Azure/SONiC/issues/192","id":323218096,"number":192,"title":"ARP entries are not being restored to Linux during fast reboot","user":{"login":"denis-maslov","id":36034371,"avatar_url":"https://avatars1.githubusercontent.com/u/36034371?v=4","gravatar_id":"","url":"https://api.github.com/users/denis-maslov","html_url":"https://github.com/denis-maslov","followers_url":"https://api.github.com/users/denis-maslov/followers","following_url":"https://api.github.com/users/denis-maslov/following{/other_user}","gists_url":"https://api.github.com/users/denis-maslov/gists{/gist_id}","starred_url":"https://api.github.com/users/denis-maslov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denis-maslov/subscriptions","organizations_url":"https://api.github.com/users/denis-maslov/orgs","repos_url":"https://api.github.com/users/denis-maslov/repos","events_url":"https://api.github.com/users/denis-maslov/events{/privacy}","received_events_url":"https://api.github.com/users/denis-maslov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-15T13:28:43Z","updated_at":"2018-05-15T19:38:08Z","closed_at":null,"author_association":"NONE","body":"ARP table in Linux **before** fast reboot:\r\n```\r\nadmin@micro-2:~$ show arp\r\nCommand: /usr/sbin/arp -n\r\nAddress                  HWtype  HWaddress           Flags Mask            Iface\r\n10.7.0.1                 ether   5c:5e:ab:6c:06:c1   C                     eth0\r\n10.20.1.32               ether   00:10:94:00:00:01   C                     Vlan10\r\n```\r\nAPR entries in redis-db (database 0) **before** fast reboot:\r\n```\r\nadmin@micro-2:~$ redis-cli \r\n127.0.0.1:6379> keys *NEI*\r\n1) \"NEIGH_TABLE:Vlan10:10.20.1.32\"\r\n2) \"NEIGH_TABLE:lo:127.0.0.1\"\r\n3) \"NEIGH_TABLE:eth0:10.7.0.1\"\r\n```\r\nARP table in Linux **after** fast reboot:\r\n```\r\nadmin@micro-2:~$ show arp\r\nCommand: /usr/sbin/arp -n\r\nAddress                  HWtype  HWaddress           Flags Mask            Iface\r\n10.7.0.1                 ether   5c:5e:ab:6c:06:c1   C                     eth0\r\n```\r\nAPR entries in redis-db (database 0) **after** fast reboot:\r\n```\r\n127.0.0.1:6379> keys *NEI*\r\n1) \"NEIGH_TABLE:lo:127.0.0.1\"\r\n2) \"NEIGH_TABLE:eth0:10.7.0.1\"\r\n3) \"NEIGH_TABLE:Vlan10:10.20.1.32\"\r\n```\r\nContent of **/arp.json** file (**swss** container) during fast reboot:\r\n```\r\n[\r\n  {\r\n    \"NEIGH_TABLE:Vlan10:10.20.1.32\": {\r\n      \"neigh\": \"00:10:94:00:00:01\",\r\n      \"family\": \"IPv4\"\r\n    },\r\n    \"OP\": \"SET\"\r\n  }\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/Azure/SONiC/issues/comments/389288026","html_url":"https://github.com/Azure/SONiC/issues/192#issuecomment-389288026","issue_url":"https://api.github.com/repos/Azure/SONiC/issues/192","id":389288026,"user":{"login":"pavel-shirshov","id":13968565,"avatar_url":"https://avatars1.githubusercontent.com/u/13968565?v=4","gravatar_id":"","url":"https://api.github.com/users/pavel-shirshov","html_url":"https://github.com/pavel-shirshov","followers_url":"https://api.github.com/users/pavel-shirshov/followers","following_url":"https://api.github.com/users/pavel-shirshov/following{/other_user}","gists_url":"https://api.github.com/users/pavel-shirshov/gists{/gist_id}","starred_url":"https://api.github.com/users/pavel-shirshov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavel-shirshov/subscriptions","organizations_url":"https://api.github.com/users/pavel-shirshov/orgs","repos_url":"https://api.github.com/users/pavel-shirshov/repos","events_url":"https://api.github.com/users/pavel-shirshov/events{/privacy}","received_events_url":"https://api.github.com/users/pavel-shirshov/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T19:38:08Z","updated_at":"2018-05-15T19:38:08Z","author_association":"NONE","body":"Hi Denis.\r\n\r\nI don't think this is an issue. We care about the data plane only in the fast-reboot procedure. Our goal is to restore functionality of a device ASAP.\r\nAlso control plane arp table (Linux arp table in this case) is a source information for SONiC. In the FR procedure we don't use this source, preferring the file instead.\r\n\r\nLet me know if you have other questions."}}
{"actor":{"display_login":"pavel-shirshov"}}