{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/3310","repository_url":"https://api.github.com/repos/apache/cloudstack","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/3310/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/3310/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/3310/events","html_url":"https://github.com/apache/cloudstack/pull/3310","id":439223373,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc1MDc2Mjkz","number":3310,"title":"Fix removing static NAT rules with Juniper SRX","user":{"login":"richardlawley","id":1608083,"node_id":"MDQ6VXNlcjE2MDgwODM=","avatar_url":"https://avatars0.githubusercontent.com/u/1608083?v=4","gravatar_id":"","url":"https://api.github.com/users/richardlawley","html_url":"https://github.com/richardlawley","followers_url":"https://api.github.com/users/richardlawley/followers","following_url":"https://api.github.com/users/richardlawley/following{/other_user}","gists_url":"https://api.github.com/users/richardlawley/gists{/gist_id}","starred_url":"https://api.github.com/users/richardlawley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardlawley/subscriptions","organizations_url":"https://api.github.com/users/richardlawley/orgs","repos_url":"https://api.github.com/users/richardlawley/repos","events_url":"https://api.github.com/users/richardlawley/events{/privacy}","received_events_url":"https://api.github.com/users/richardlawley/received_events","type":"User","site_admin":false},"labels":[{"id":37843364,"node_id":"MDU6TGFiZWwzNzg0MzM2NA==","url":"https://api.github.com/repos/apache/cloudstack/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/apache/cloudstack/milestones/8","html_url":"https://github.com/apache/cloudstack/milestone/8","labels_url":"https://api.github.com/repos/apache/cloudstack/milestones/8/labels","id":3740792,"node_id":"MDk6TWlsZXN0b25lMzc0MDc5Mg==","number":8,"title":"4.13.0.0","description":"Milestone for PRs targetted the next LTS release 4.13.","creator":{"login":"rafaelweingartner","id":4129005,"node_id":"MDQ6VXNlcjQxMjkwMDU=","avatar_url":"https://avatars2.githubusercontent.com/u/4129005?v=4","gravatar_id":"","url":"https://api.github.com/users/rafaelweingartner","html_url":"https://github.com/rafaelweingartner","followers_url":"https://api.github.com/users/rafaelweingartner/followers","following_url":"https://api.github.com/users/rafaelweingartner/following{/other_user}","gists_url":"https://api.github.com/users/rafaelweingartner/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelweingartner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelweingartner/subscriptions","organizations_url":"https://api.github.com/users/rafaelweingartner/orgs","repos_url":"https://api.github.com/users/rafaelweingartner/repos","events_url":"https://api.github.com/users/rafaelweingartner/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelweingartner/received_events","type":"User","site_admin":false},"open_issues":129,"closed_issues":61,"state":"open","created_at":"2018-10-15T18:39:41Z","updated_at":"2019-05-31T07:02:53Z","due_on":"2019-07-05T07:00:00Z","closed_at":null},"comments":20,"created_at":"2019-05-01T16:17:50Z","updated_at":"2019-05-31T08:26:20Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/3310","html_url":"https://github.com/apache/cloudstack/pull/3310","diff_url":"https://github.com/apache/cloudstack/pull/3310.diff","patch_url":"https://github.com/apache/cloudstack/pull/3310.patch"},"body":"## Description\r\n<!--- Describe your changes in detail -->\r\nFixed the logic for deleting static NAT rules on a Juniper SRX device.  Previously the private (trust) rule was not being removed.\r\n\r\n<!-- For new features, provide link to FS, dev ML discussion etc. -->\r\n<!-- In case of bug fix, the expected and actual behaviours, steps to reproduce. -->\r\n\r\n<!-- When \"Fixes: #<id>\" is specified, the issue/PR will automatically be closed when this PR gets merged -->\r\n<!-- For addressing multiple issues/PRs, use multiple \"Fixes: #<id>\" -->\r\n<!-- Fixes: # -->\r\nFixes: #3309 \r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [X] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] Enhancement (improves an existing feature and functionality)\r\n- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)\r\n\r\n## How Has This Been Tested?\r\n<!-- Please describe in detail how you tested your changes. -->\r\n<!-- Include details of your testing environment, and the tests you ran to -->\r\n<!-- see how your change affects other areas of the code, etc. -->\r\nAttached an SRX device to a simulator instance with unfixed code\r\nCreate Static NAT rule, verify that rules are added into SRX Config\r\nRemove Static NAT rule, verify that private rule not removed\r\nApply fixed code\r\nCreate Static NAT rule, verify that both rules are present\r\nRemove Static NAT rule, verify that both rules are removed\r\n\r\n<!-- Please read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md) document -->\r\n"},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/497623843","html_url":"https://github.com/apache/cloudstack/pull/3310#issuecomment-497623843","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/3310","id":497623843,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5NzYyMzg0Mw==","user":{"login":"rhtyd","id":95203,"node_id":"MDQ6VXNlcjk1MjAz","avatar_url":"https://avatars0.githubusercontent.com/u/95203?v=4","gravatar_id":"","url":"https://api.github.com/users/rhtyd","html_url":"https://github.com/rhtyd","followers_url":"https://api.github.com/users/rhtyd/followers","following_url":"https://api.github.com/users/rhtyd/following{/other_user}","gists_url":"https://api.github.com/users/rhtyd/gists{/gist_id}","starred_url":"https://api.github.com/users/rhtyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhtyd/subscriptions","organizations_url":"https://api.github.com/users/rhtyd/orgs","repos_url":"https://api.github.com/users/rhtyd/repos","events_url":"https://api.github.com/users/rhtyd/events{/privacy}","received_events_url":"https://api.github.com/users/rhtyd/received_events","type":"User","site_admin":false},"created_at":"2019-05-31T08:26:20Z","updated_at":"2019-05-31T08:26:20Z","author_association":"MEMBER","body":"@richardlawley can you close this one and send a PR against 4.11, or rebase this PR's branch against 4.11? I couldn't easily change the base branch, as it also requires to rebase against the 4.11 branch."}}
{"actor":{"display_login":"rhtyd"}}