)]}'
{"lib/puppet/parser/functions/get_gateway.rb":[{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"c1b8c21220d33fb2c188f92d5871ac67d8ec3d1e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"module Puppet::Parser::Functions"},{"line_number":2,"context_line":"  newfunction(:get_gateway, :type \u003d\u003e :rvalue) do |args|"},{"line_number":3,"context_line":"    %x( ip route | grep default | awk \u0027{print $3}\u0027 |tr -d \u0027\\n\u0027)"},{"line_number":4,"context_line":"  end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"5f201791_2198e072","line":1,"updated":"2017-06-27 19:36:53.000000000","message":"A bit of headers to explain what this function does and where do we use it would have been useful for the code reviewer.","commit_id":"858e87effdff3509d8a35c73a0bf162ab6594c49"},{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"c1b8c21220d33fb2c188f92d5871ac67d8ec3d1e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"module Puppet::Parser::Functions"},{"line_number":2,"context_line":"  newfunction(:get_gateway, :type \u003d\u003e :rvalue) do |args|"},{"line_number":3,"context_line":"    %x( ip route | grep default | awk \u0027{print $3}\u0027 |tr -d \u0027\\n\u0027)"},{"line_number":4,"context_line":"  end"},{"line_number":5,"context_line":"end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"5f201791_41abdc73","line":3,"updated":"2017-06-27 19:36:53.000000000","message":"I\u0027m worried about some cases where we would have 2 NICs with 2 default routes. Thoughts?","commit_id":"858e87effdff3509d8a35c73a0bf162ab6594c49"}],"lib/puppet/parser/functions/ip_to_nic.rb":[{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"c1b8c21220d33fb2c188f92d5871ac67d8ec3d1e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"require \u0027ipaddr\u0027"},{"line_number":2,"context_line":"module Puppet::Parser::Functions"},{"line_number":3,"context_line":"  newfunction(:ip_to_nic, :type \u003d\u003e :rvalue) do |args|"},{"line_number":4,"context_line":"    cmd \u003d \"ip addr sh |grep \" + args[0] + \" |awk \u0027{print $7}\u0027 \u0027\\n\u0027\""}],"source_content_type":"text/x-ruby","patch_set":4,"id":"5f201791_e1bd48b7","line":1,"updated":"2017-06-27 19:36:53.000000000","message":"A bit of headers to explain what this function does and where do we use it would have been useful for the code reviewer.","commit_id":"858e87effdff3509d8a35c73a0bf162ab6594c49"}],"lib/puppet/parser/functions/netmask_to_cidr.rb":[{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"c1b8c21220d33fb2c188f92d5871ac67d8ec3d1e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"require \u0027ipaddr\u0027"},{"line_number":2,"context_line":"module Puppet::Parser::Functions"},{"line_number":3,"context_line":"  newfunction(:netmask_to_cidr, :type \u003d\u003e :rvalue) do |args|"},{"line_number":4,"context_line":"    IPAddr.new(args[0]).to_i.to_s(2).count(\"1\")"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"5f201791_e10b088b","line":1,"updated":"2017-06-27 19:36:53.000000000","message":"A bit of headers to explain what this function does and where do we use it would have been useful for the code reviewer.","commit_id":"858e87effdff3509d8a35c73a0bf162ab6594c49"},{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"c1b8c21220d33fb2c188f92d5871ac67d8ec3d1e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"require \u0027ipaddr\u0027"},{"line_number":2,"context_line":"module Puppet::Parser::Functions"},{"line_number":3,"context_line":"  newfunction(:netmask_to_cidr, :type \u003d\u003e :rvalue) do |args|"},{"line_number":4,"context_line":"    IPAddr.new(args[0]).to_i.to_s(2).count(\"1\")"},{"line_number":5,"context_line":"  end"},{"line_number":6,"context_line":"end"}],"source_content_type":"text/x-ruby","patch_set":4,"id":"5f201791_a101906c","line":4,"updated":"2017-06-27 19:36:53.000000000","message":"ouch, can\u0027t we use facter here?","commit_id":"858e87effdff3509d8a35c73a0bf162ab6594c49"}],"manifests/network/contrail/heat.pp":[{"author":{"_account_id":4328,"name":"Steven Hardy","email":"steven.hardy@suse.com","username":"shardy"},"change_message_id":"9569f472529c02713e48e24d97abb3de19bc9ba5","unresolved":false,"context_lines":[{"line_number":66,"context_line":"#"},{"line_number":67,"context_line":"class tripleo::network::contrail::heat("},{"line_number":68,"context_line":"  $admin_password \u003d hiera(\u0027contrail::admin_password\u0027),"},{"line_number":69,"context_line":"  $admin_token    \u003d hiera(\u0027contrail::admin_token\u0027),"},{"line_number":70,"context_line":"  $admin_user     \u003d hiera(\u0027contrail::admin_user\u0027),"},{"line_number":71,"context_line":"  $api_server     \u003d hiera(\u0027contrail_config_vip\u0027,hiera(\u0027internal_api_virtual_ip\u0027)),"},{"line_number":72,"context_line":"  $api_port       \u003d 8082,"}],"source_content_type":"text/x-puppet","patch_set":10,"id":"1f1a1f67_9ef0cbcb","line":69,"range":{"start_line":69,"start_character":41,"end_line":69,"end_character":42},"updated":"2017-07-13 13:22:41.000000000","message":"admin_token is going away soon, we really shouldn\u0027t be adding new references to it and AFAICS it\u0027s actually not used?","commit_id":"8b9e2b3c6ca5221249b8aa7dc792e756ee92209a"}],"manifests/network/contrail/provision.pp":[{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"c1b8c21220d33fb2c188f92d5871ac67d8ec3d1e","unresolved":false,"context_lines":[{"line_number":71,"context_line":"  $admin_tenant_name \u003d hiera(\u0027contrail::admin_tenant_name\u0027),"},{"line_number":72,"context_line":"  $admin_token       \u003d hiera(\u0027contrail::admin_token\u0027),"},{"line_number":73,"context_line":"  $admin_user        \u003d hiera(\u0027contrail::admin_user\u0027),"},{"line_number":74,"context_line":"  $api_server        \u003d hiera(\u0027contrail_config_vip\u0027),"},{"line_number":75,"context_line":"  $auth_host         \u003d hiera(\u0027contrail::auth_host\u0027),"},{"line_number":76,"context_line":"  $auth_port         \u003d hiera(\u0027contrail::auth_port\u0027),"},{"line_number":77,"context_line":"  $auth_protocol     \u003d hiera(\u0027contrail::auth_protocol\u0027),"}],"source_content_type":"text/x-puppet","patch_set":4,"id":"5f201791_211b40ca","line":74,"updated":"2017-06-27 19:36:53.000000000","message":"you probably missed to change this line ^","commit_id":"858e87effdff3509d8a35c73a0bf162ab6594c49"},{"author":{"_account_id":3153,"name":"Emilien Macchi","email":"emilien@redhat.com","username":"emilienm"},"change_message_id":"c1b8c21220d33fb2c188f92d5871ac67d8ec3d1e","unresolved":false,"context_lines":[{"line_number":75,"context_line":"  $auth_host         \u003d hiera(\u0027contrail::auth_host\u0027),"},{"line_number":76,"context_line":"  $auth_port         \u003d hiera(\u0027contrail::auth_port\u0027),"},{"line_number":77,"context_line":"  $auth_protocol     \u003d hiera(\u0027contrail::auth_protocol\u0027),"},{"line_number":78,"context_line":"  $step              \u003d Integer(hiera(\u0027step\u0027)),"},{"line_number":79,"context_line":")"},{"line_number":80,"context_line":"{"},{"line_number":81,"context_line":"  if $step \u003e\u003d 5 {"}],"source_content_type":"text/x-puppet","patch_set":4,"id":"5f201791_e17e68e2","line":78,"updated":"2017-06-27 19:36:53.000000000","message":"and add host_ip","commit_id":"858e87effdff3509d8a35c73a0bf162ab6594c49"}]}
