Tap Port implementation in VPP renderer
[groupbasedpolicy.git] / renderers / vpp / src / main / java / org / opendaylight / groupbasedpolicy / renderer / vpp / commands / ConfigCommand.java
1 /*
2  * Copyright (c) 2016 Cisco Systems. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.groupbasedpolicy.renderer.vpp.commands;
10
11 import org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction;
12 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.InterfaceBuilder;
13
14 public interface ConfigCommand {
15
16     /**
17      * Execute command using a given data modification transaction.
18      *
19      * @param readWriteTransaction Transaction for command execution
20      */
21     void execute(ReadWriteTransaction readWriteTransaction);
22
23     /**
24      * Creates Interface Builder with proper augmentations.
25      *
26      * @return InterfaceBuilder for this command with proper augmentations
27      */
28     InterfaceBuilder getInterfaceBuilder();
29 }