Search in sources :

Example 6 with UpdateTableInput

use of org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.UpdateTableInput in project openflowplugin by opendaylight.

the class SalTableServiceImplTest method prepareUpdateTable.

private UpdateTableInput prepareUpdateTable() {
    UpdateTableInputBuilder updateTableInputBuilder = new UpdateTableInputBuilder();
    UpdatedTableBuilder updatedTableBuilder = new UpdatedTableBuilder();
    updatedTableBuilder.setTableFeatures(Collections.<TableFeatures>emptyList());
    updateTableInputBuilder.setUpdatedTable(updatedTableBuilder.build());
    return updateTableInputBuilder.build();
}
Also used : UpdatedTableBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.table.update.UpdatedTableBuilder) UpdateTableInputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.UpdateTableInputBuilder)

Aggregations

Test (org.junit.Test)4 UpdateTableInput (org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.UpdateTableInput)4 TableFeaturesBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.table.types.rev131026.table.features.TableFeaturesBuilder)4 UpdateTableInputBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.UpdateTableInputBuilder)3 UpdatedTableBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.table.update.UpdatedTableBuilder)3 RpcResult (org.opendaylight.yangtools.yang.common.RpcResult)3 UpdateTableOutput (org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.UpdateTableOutput)2 UpdateTableOutputBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.UpdateTableOutputBuilder)2 MultipartReplyTableFeaturesBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.table.types.rev131026.multipart.reply.multipart.reply.body.MultipartReplyTableFeaturesBuilder)2 TableFeatures (org.opendaylight.yang.gen.v1.urn.opendaylight.table.types.rev131026.table.features.TableFeatures)2 FutureCallback (com.google.common.util.concurrent.FutureCallback)1 ArrayList (java.util.ArrayList)1 List (java.util.List)1 Nonnull (javax.annotation.Nonnull)1 WriteTransaction (org.opendaylight.controller.md.sal.binding.api.WriteTransaction)1 ServiceException (org.opendaylight.openflowplugin.impl.services.util.ServiceException)1 FlowCapableNode (org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNode)1 TableKey (org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.TableKey)1 TransactionId (org.opendaylight.yang.gen.v1.urn.opendaylight.flow.transaction.rev150304.TransactionId)1 Nodes (org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes)1