{"action":"created","issue":{"url":"https://api.github.com/repos/telstra/open-kilda/issues/739","repository_url":"https://api.github.com/repos/telstra/open-kilda","labels_url":"https://api.github.com/repos/telstra/open-kilda/issues/739/labels{/name}","comments_url":"https://api.github.com/repos/telstra/open-kilda/issues/739/comments","events_url":"https://api.github.com/repos/telstra/open-kilda/issues/739/events","html_url":"https://github.com/telstra/open-kilda/issues/739","id":321110618,"node_id":"MDU6SXNzdWUzMjExMTA2MTg=","number":739,"title":"System allows to successfully create flow for not available switch port","user":{"login":"rtretyak","id":7931639,"node_id":"MDQ6VXNlcjc5MzE2Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/7931639?v=4","gravatar_id":"","url":"https://api.github.com/users/rtretyak","html_url":"https://github.com/rtretyak","followers_url":"https://api.github.com/users/rtretyak/followers","following_url":"https://api.github.com/users/rtretyak/following{/other_user}","gists_url":"https://api.github.com/users/rtretyak/gists{/gist_id}","starred_url":"https://api.github.com/users/rtretyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtretyak/subscriptions","organizations_url":"https://api.github.com/users/rtretyak/orgs","repos_url":"https://api.github.com/users/rtretyak/repos","events_url":"https://api.github.com/users/rtretyak/events{/privacy}","received_events_url":"https://api.github.com/users/rtretyak/received_events","type":"User","site_admin":false},"labels":[{"id":974385428,"node_id":"MDU6TGFiZWw5NzQzODU0Mjg=","url":"https://api.github.com/repos/telstra/open-kilda/labels/area/arch","name":"area/arch","color":"006b75","default":false},{"id":704026951,"node_id":"MDU6TGFiZWw3MDQwMjY5NTE=","url":"https://api.github.com/repos/telstra/open-kilda/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-08T09:30:50Z","updated_at":"2018-08-09T07:43:52Z","closed_at":null,"author_association":"COLLABORATOR","body":"When we use too big port number (which is not available on the switch) when creating the flow, our system does not show that the problem occurred and reports that the flow is in UP state, which is false.\r\n\r\n**Steps to reproduce**\r\n- Login to switch to see available ports by running `show config port portno all`, take number which is +1 higher than the last available port OR just take a very big portno (999)\r\n- Create a flow through that switch (src or dst) and use a not available portno ('port-id') from previous step\r\n**Expected:** any kind of error, warning or status, explaining the inability to create the requested flow\r\n**Actual:** Switch has no rules installed, but the requested flow is created in Kilda and has an UP status.\r\n\r\nTested on a Noviflow switch."},"comment":{"url":"https://api.github.com/repos/telstra/open-kilda/issues/comments/411667948","html_url":"https://github.com/telstra/open-kilda/issues/739#issuecomment-411667948","issue_url":"https://api.github.com/repos/telstra/open-kilda/issues/739","id":411667948,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTY2Nzk0OA==","user":{"login":"pzakatov","id":4027430,"node_id":"MDQ6VXNlcjQwMjc0MzA=","avatar_url":"https://avatars3.githubusercontent.com/u/4027430?v=4","gravatar_id":"","url":"https://api.github.com/users/pzakatov","html_url":"https://github.com/pzakatov","followers_url":"https://api.github.com/users/pzakatov/followers","following_url":"https://api.github.com/users/pzakatov/following{/other_user}","gists_url":"https://api.github.com/users/pzakatov/gists{/gist_id}","starred_url":"https://api.github.com/users/pzakatov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzakatov/subscriptions","organizations_url":"https://api.github.com/users/pzakatov/orgs","repos_url":"https://api.github.com/users/pzakatov/repos","events_url":"https://api.github.com/users/pzakatov/events{/privacy}","received_events_url":"https://api.github.com/users/pzakatov/received_events","type":"User","site_admin":false},"created_at":"2018-08-09T07:43:52Z","updated_at":"2018-08-09T07:43:52Z","author_association":"COLLABORATOR","body":"We need to understand how to detect and store number of ports for a switch"}}
{"actor":{"display_login":"pzakatov"}}