{"action":"closed","issue":{"url":"https://api.github.com/repos/robshakir/pyangbind/issues/62","repository_url":"https://api.github.com/repos/robshakir/pyangbind","labels_url":"https://api.github.com/repos/robshakir/pyangbind/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/robshakir/pyangbind/issues/62/comments","events_url":"https://api.github.com/repos/robshakir/pyangbind/issues/62/events","html_url":"https://github.com/robshakir/pyangbind/issues/62","id":151519612,"number":62,"title":"Restriction/Range that uses keyword 'min' does not work","user":{"login":"mpainenz","id":16472288,"avatar_url":"https://avatars.githubusercontent.com/u/16472288?v=3","gravatar_id":"","url":"https://api.github.com/users/mpainenz","html_url":"https://github.com/mpainenz","followers_url":"https://api.github.com/users/mpainenz/followers","following_url":"https://api.github.com/users/mpainenz/following{/other_user}","gists_url":"https://api.github.com/users/mpainenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mpainenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpainenz/subscriptions","organizations_url":"https://api.github.com/users/mpainenz/orgs","repos_url":"https://api.github.com/users/mpainenz/repos","events_url":"https://api.github.com/users/mpainenz/events{/privacy}","received_events_url":"https://api.github.com/users/mpainenz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robshakir/pyangbind/labels/answered","name":"answered","color":"fbca04"},{"url":"https://api.github.com/repos/robshakir/pyangbind/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/robshakir/pyangbind/labels/fixed","name":"fixed","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-28T00:02:27Z","updated_at":"2016-04-29T03:18:29Z","closed_at":"2016-04-29T03:18:29Z","body":"Hi Rob,\r\n\r\nPlease see pull request #61\r\n\r\nI've included an example in my pull request (texts\\int\\int.yang) to demonstrate the broken functionality, but here's an example:\r\n\r\n```\r\nleaf restricted-ueight-min-alias {\r\n    type int8 {\r\n        range \"min..max\";\r\n    }\r\n}\r\n```\r\n\r\nI couldn't work out where the min and max keywords get translated into an integer representation. Perhaps it's done via pyang, I don't know.\r\n\r\nThanks,\r\nMark"}}