public VlanId ingressVlan() {
        if (!object.has(INGRESS_VLAN)) {
            return VlanId.NONE;
        }

        try {
            return VlanId.vlanId(object.path(INGRESS_VLAN).asText());
        } catch (IllegalArgumentException e) {
            return null;
        }
    }
@Test
    public void ingressVlan() throws Exception {
        VlanId ingressVlan = config.ingressVlan();
        assertNotNull("ingressVlan should not be null", ingressVlan);
        assertThat(ingressVlan, is(INGRESS_VLAN_1));
    }