Search in sources :

Example 1 with TableUpdatedBuilder

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

the class AbstractTableMultipartService method storeStatistics.

/**
 * Stores table features to operational datastore.
 */
protected void storeStatistics(List<org.opendaylight.yang.gen.v1.urn.opendaylight.table.types.rev131026.table.features.TableFeatures> result) {
    multipartWriterProvider.lookup(MultipartType.OFPMPTABLEFEATURES).ifPresent(writer -> {
        writer.write(new TableUpdatedBuilder().setTableFeatures(result).build(), false);
        getTxFacade().submitTransaction();
    });
}
Also used : TableUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.TableUpdatedBuilder)

Aggregations

TableUpdatedBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.table.service.rev131026.TableUpdatedBuilder)1