)]}'
{"devstack/lib/ironic":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"4c39febc653e60d866ec76e4a0cbdb96e97944cb","unresolved":false,"context_lines":[{"line_number":364,"context_line":""},{"line_number":365,"context_line":"# Whether to create VM with bond interfaces."},{"line_number":366,"context_line":"IRONIC_USE_BOND\u003d$(trueorfalse False IRONIC_USE_BOND)"},{"line_number":367,"context_line":"IRONIC_BOND_IMAGE_NAME\u003d${IRONIC_BOND_IMAGE_NAME:-cirros-disk-bonding-static}"},{"line_number":368,"context_line":""},{"line_number":369,"context_line":"# get_pxe_boot_file() - Get the PXE/iPXE boot file path"},{"line_number":370,"context_line":"function get_pxe_boot_file {"}],"source_content_type":"application/x-shellscript","patch_set":30,"id":"7a3c09a3_7064cc21","line":367,"range":{"start_line":367,"start_character":49,"end_line":367,"end_character":75},"updated":"2017-01-16 10:26:20.000000000","message":"Could you please add some xenial image here instead, until we figure out what to do with cloud-init in cirros? This would allow testing that configdrive works.","commit_id":"375bf8b482b67534c99c08d1c37de0b1bf7e8866"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"4c39febc653e60d866ec76e4a0cbdb96e97944cb","unresolved":false,"context_lines":[{"line_number":1146,"context_line":"        vm_modes+\u003d\u0027 bond\u0027"},{"line_number":1147,"context_line":"    fi"},{"line_number":1148,"context_line":"    for vm_mode in \u0027\u0027 $vm_modes; do"},{"line_number":1149,"context_line":"    for vm_name in $(_ironic_bm_vm_names); do"},{"line_number":1150,"context_line":"        local bond_support\u003dFalse"},{"line_number":1151,"context_line":"        if [[ \"$vm_mode\" \u003d\u003d \u0027bond\u0027 ]]; then"},{"line_number":1152,"context_line":"            bond_support\u003dTrue"},{"line_number":1153,"context_line":"        fi"},{"line_number":1154,"context_line":"        sudo -E su $STACK_USER -c \"$IRONIC_SCRIPTS_DIR/create-node.sh -n ${vm_mode}$vm_name \\"},{"line_number":1155,"context_line":"            -c $IRONIC_VM_SPECS_CPU -m $IRONIC_VM_SPECS_RAM -d $IRONIC_VM_SPECS_DISK \\"},{"line_number":1156,"context_line":"            -a $IRONIC_VM_SPECS_CPU_ARCH -b $IRONIC_VM_NETWORK_BRIDGE $vm_opts \\"},{"line_number":1157,"context_line":"            -p $vbmc_port -o $pdu_outlet -f $IRONIC_VM_SPECS_DISK_FORMAT $log_arg -B $bond_support\" \u003e\u003e $IRONIC_VM_MACS_CSV_FILE"},{"line_number":1158,"context_line":"        vbmc_port\u003d$((vbmc_port+1))"},{"line_number":1159,"context_line":"        pdu_outlet\u003d$((pdu_outlet+1))"},{"line_number":1160,"context_line":"    done"},{"line_number":1161,"context_line":"    done"},{"line_number":1162,"context_line":""},{"line_number":1163,"context_line":"    if [[ -z \"${IRONIC_PROVISION_NETWORK_NAME}\" ]]; then"}],"source_content_type":"application/x-shellscript","patch_set":30,"id":"7a3c09a3_50f9904c","line":1160,"range":{"start_line":1149,"start_character":4,"end_line":1160,"end_character":8},"updated":"2017-01-16 10:26:20.000000000","message":"nit - indentation please :)","commit_id":"375bf8b482b67534c99c08d1c37de0b1bf7e8866"}],"devstack/tools/ironic/scripts/create-node.sh":[{"author":{"_account_id":11929,"name":"Michael Turek","email":"mjturek@linux.vnet.ibm.com","username":"mjturek"},"change_message_id":"371b76830d3bc1e599e13560291091e9af65f121","unresolved":false,"context_lines":[{"line_number":104,"context_line":"fi"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"# echo mac"},{"line_number":107,"context_line":"VM_MACS\u003d$(echo -n $(virsh domiflist $NAME |grep 52:54 | awk \u0027{print $5}\u0027) | tr \u0027 \u0027 \u0027,\u0027)"},{"line_number":108,"context_line":"switch_id\u003d$(ip link show dev $BRIDGE | egrep -o \"ether [A-Za-z0-9:]+\"|sed \"s/ether\\ //\")"},{"line_number":109,"context_line":"echo $VM_MACS $VBMC_PORT $BRIDGE $switch_id ovs-$NAME $NAME"}],"source_content_type":"text/x-sh","patch_set":15,"id":"9a629dbe_d1e03acf","line":107,"range":{"start_line":107,"start_character":43,"end_line":107,"end_character":72},"updated":"2016-11-08 17:13:53.000000000","message":"I think replacing this with \"awk \u0027NR\u003e2 {print $5}\u0027\" might be a good idea. This skips the headers and doesn\u0027t rely on the MAC starting with 52:54","commit_id":"887edb55a271b9c97218806fa93964600cde2557"},{"author":{"_account_id":14525,"name":"Vasyl Saienko","email":"vsaienko@mirantis.com","username":"vsaienko"},"change_message_id":"80fcb44b468ae3413cd36ef3e986351f49c19772","unresolved":false,"context_lines":[{"line_number":104,"context_line":"fi"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"# echo mac"},{"line_number":107,"context_line":"VM_MACS\u003d$(echo -n $(virsh domiflist $NAME |grep 52:54 | awk \u0027{print $5}\u0027) | tr \u0027 \u0027 \u0027,\u0027)"},{"line_number":108,"context_line":"switch_id\u003d$(ip link show dev $BRIDGE | egrep -o \"ether [A-Za-z0-9:]+\"|sed \"s/ether\\ //\")"},{"line_number":109,"context_line":"echo $VM_MACS $VBMC_PORT $BRIDGE $switch_id ovs-$NAME $NAME"}],"source_content_type":"text/x-sh","patch_set":15,"id":"9a629dbe_26b13690","line":107,"range":{"start_line":107,"start_character":43,"end_line":107,"end_character":72},"in_reply_to":"9a629dbe_d1e03acf","updated":"2016-11-08 19:56:38.000000000","message":"Done","commit_id":"887edb55a271b9c97218806fa93964600cde2557"}]}
