Switch from using a Long for FlowId to an Uri
[openflowplugin.git] / drop-test / src / main / java / org / opendaylight / openflowplugin / droptest / DropTestUtils.java
1 package org.opendaylight.openflowplugin.droptest;
2
3 public class DropTestUtils {
4     public static String macToString(byte[] mac) {
5         StringBuilder b = new StringBuilder();
6         for (int i = 0; i < mac.length; i++) {
7             b.append(String.format("%02X%s", mac[i], (i < mac.length - 1) ? ":" : ""));
8         }
9
10         return b.toString();
11     }
12 }