@@ -0,0 +1,1151 @@
+/*%0A * Copyright 2015 Open Networking Laboratory%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage org.onosproject.net.behaviour;%0A%0Aimport com.google.common.annotations.Beta;%0Aimport org.onosproject.net.PortNumber;%0Aimport org.onosproject.net.driver.HandlerBehaviour;%0A%0A/**%0A * A HandlerBehaviour to check the capability of VLAN.%0A */%0A@Beta%0Apublic interface VlanQuery extends HandlerBehaviour %7B%0A%0A    /**%0A     * Indicates if VLAN can be used at the port.%0A     *%0A     * @param port port to be checked for the capability%0A     * @return true if VLAN can be used at the port, false otherwise.%0A     */%0A    boolean isEnabled(PortNumber port);%0A%7D%0A

Define an interface to query about VLAN capability