2 * Copyright (c) 2016 Cisco Systems. All rights reserved.
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
9 package org.opendaylight.groupbasedpolicy.renderer.vpp.commands;
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;
14 public interface ConfigCommand {
17 * Execute command using a given data modification transaction.
19 * @param readWriteTransaction Transaction for command execution
21 void execute(ReadWriteTransaction readWriteTransaction);
24 * Creates Interface Builder with proper augmentations.
26 * @return InterfaceBuilder for this command with proper augmentations
28 InterfaceBuilder getInterfaceBuilder();