public long toLong() {
        long mac = 0;
        for (int i = 0; i < 6; i++) {
            final long t = (this.address[i] & 0xffL) << (5 - i) * 8;
            mac |= t;
        }
        return mac;
    }
@Test
    public void testToLong() throws Exception {
        assertEquals(MAC_ONOS_LONG, MAC_ONOS.toLong());
    }