{"action":"opened","issue":{"url":"https://api.github.com/repos/p4lang/tutorials/issues/43","repository_url":"https://api.github.com/repos/p4lang/tutorials","labels_url":"https://api.github.com/repos/p4lang/tutorials/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/p4lang/tutorials/issues/43/comments","events_url":"https://api.github.com/repos/p4lang/tutorials/issues/43/events","html_url":"https://github.com/p4lang/tutorials/issues/43","id":251338135,"number":43,"title":"MRI swid table gets removed on compilation","user":{"login":"marauderlabs","id":850807,"avatar_url":"https://avatars3.githubusercontent.com/u/850807?v=4","gravatar_id":"","url":"https://api.github.com/users/marauderlabs","html_url":"https://github.com/marauderlabs","followers_url":"https://api.github.com/users/marauderlabs/followers","following_url":"https://api.github.com/users/marauderlabs/following{/other_user}","gists_url":"https://api.github.com/users/marauderlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/marauderlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marauderlabs/subscriptions","organizations_url":"https://api.github.com/users/marauderlabs/orgs","repos_url":"https://api.github.com/users/marauderlabs/repos","events_url":"https://api.github.com/users/marauderlabs/events{/privacy}","received_events_url":"https://api.github.com/users/marauderlabs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-18T19:30:22Z","updated_at":"2017-08-18T19:30:22Z","closed_at":null,"body":"```\r\n...\r\nReading package manifest.\r\n> p4c-bm2-ss --p4v 16 \"mri.p4\" -o \"mri.p4.json\"\r\nmri.p4(115): warning: parse_ipv4_option: implicit transition to `reject'\r\n    state parse_ipv4_option {\r\n          ^^^^^^^^^^^^^^^^^\r\nmri.p4(124): warning: parse_mri: implicit transition to `reject'\r\n    state parse_mri {\r\n          ^^^^^^^^^\r\nmri.p4(135): warning: parse_swid: implicit transition to `reject'\r\n    state parse_swid {\r\n          ^^^^^^^^^^\r\nmri.p4(201): warning: Table swid is not used; removing       <--- table gets removed\r\n    table swid {\r\n          ^^^^\r\n...\r\n```\r\n\r\nDue to this, later when the swid table gets programmed, it's not available and addition of entry fails.\r\n\r\n```\r\n....\r\nControl utility for runtime P4 table manipulation\r\nRuntimeCmd: Setting default action of ipv4_lpm\r\naction:              drop\r\nruntime data:        \r\nRuntimeCmd: Error: Invalid table name (swid)        <---- failure here\r\nRuntimeCmd: Adding entry to lpm match table ipv4_lpm\r\n...\r\n```\r\n"}}
{"actor":{"display_login":"marauderlabs"}}