{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/openshift-sdn/issues/268","repository_url":"https://api.github.com/repos/openshift/openshift-sdn","labels_url":"https://api.github.com/repos/openshift/openshift-sdn/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/openshift/openshift-sdn/issues/268/comments","events_url":"https://api.github.com/repos/openshift/openshift-sdn/issues/268/events","html_url":"https://github.com/openshift/openshift-sdn/pull/268","id":139977017,"number":268,"title":"Implement better OVS flow rule versioning","user":{"login":"dcbw","id":10926354,"avatar_url":"https://avatars.githubusercontent.com/u/10926354?v=3","gravatar_id":"","url":"https://api.github.com/users/dcbw","html_url":"https://github.com/dcbw","followers_url":"https://api.github.com/users/dcbw/followers","following_url":"https://api.github.com/users/dcbw/following{/other_user}","gists_url":"https://api.github.com/users/dcbw/gists{/gist_id}","starred_url":"https://api.github.com/users/dcbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcbw/subscriptions","organizations_url":"https://api.github.com/users/dcbw/orgs","repos_url":"https://api.github.com/users/dcbw/repos","events_url":"https://api.github.com/users/dcbw/events{/privacy}","received_events_url":"https://api.github.com/users/dcbw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-03-10T18:46:57Z","updated_at":"2016-03-18T15:22:32Z","closed_at":"2016-03-14T18:13:11Z","pull_request":{"url":"https://api.github.com/repos/openshift/openshift-sdn/pulls/268","html_url":"https://github.com/openshift/openshift-sdn/pull/268","diff_url":"https://github.com/openshift/openshift-sdn/pull/268.diff","patch_url":"https://github.com/openshift/openshift-sdn/pull/268.patch"},"body":"Add a rule stamp and check that stamp on startup to see if we have\r\nto recreate the OVS bridge and flow rules.  Should fix ambiguity\r\nin the existing rule checking."},"comment":{"url":"https://api.github.com/repos/openshift/openshift-sdn/issues/comments/198407446","html_url":"https://github.com/openshift/openshift-sdn/pull/268#issuecomment-198407446","issue_url":"https://api.github.com/repos/openshift/openshift-sdn/issues/268","id":198407446,"user":{"login":"knobunc","id":10033853,"avatar_url":"https://avatars.githubusercontent.com/u/10033853?v=3","gravatar_id":"","url":"https://api.github.com/users/knobunc","html_url":"https://github.com/knobunc","followers_url":"https://api.github.com/users/knobunc/followers","following_url":"https://api.github.com/users/knobunc/following{/other_user}","gists_url":"https://api.github.com/users/knobunc/gists{/gist_id}","starred_url":"https://api.github.com/users/knobunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knobunc/subscriptions","organizations_url":"https://api.github.com/users/knobunc/orgs","repos_url":"https://api.github.com/users/knobunc/repos","events_url":"https://api.github.com/users/knobunc/events{/privacy}","received_events_url":"https://api.github.com/users/knobunc/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T15:22:32Z","updated_at":"2016-03-18T15:22:32Z","body":"BTW, should we use the mask feature of the cookie to make it easy to find all of our rules?  e.g. pick something like 0xbb000000/0xff000000 so that we can easily and cleanly nuke all of our flow rules with:\r\n`ovs-ofctl -OOpenFlow13 dump-flows br0 cookie=0xbb000000/0xff000000`\r\n\r\nOr perhaps, to be good ovs doobies, make that cookie value settable in the config?  And provide a utility that reads the config and cleans out the flows?  And if we were feeling clever, we could look in table 253 for the new rule this adds to identify us, and make sure that it is not present with another cookie prefix (implying that a cookie had been changed in the conf).\r\n\r\n"}}