use of org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.statistics.rev170120.counterrequestsconfig.CounterRequests in project netvirt by opendaylight.
the class StatisticsImpl method creatIngressEelementCountersContainerInConfig.
private void creatIngressEelementCountersContainerInConfig(ReadWriteTransaction transaction, InstanceIdentifier<IngressElementCountersRequestConfig> ecrcIdentifier) {
IngressElementCountersRequestConfigBuilder iecrcb = new IngressElementCountersRequestConfigBuilder();
List<CounterRequests> counterRequests = new ArrayList<>();
iecrcb.setCounterRequests(counterRequests);
IngressElementCountersRequestConfig iecrc = iecrcb.build();
transaction.put(LogicalDatastoreType.CONFIGURATION, ecrcIdentifier, iecrc, WriteTransaction.CREATE_MISSING_PARENTS);
}
Aggregations