use of org.opendaylight.controller.config.api.IdentityAttributeRef in project controller by opendaylight.
the class NetconfTestImplModuleTest method testIdentities.
@Test
public void testIdentities() throws Exception {
final ConfigTransactionJMXClient transaction = this.configRegistryClient.createTransaction();
final ObjectName nameCreated = transaction.createModule(IdentityTestModuleFactory.NAME, this.instanceName);
final IdentityTestModuleMXBean mxBean = transaction.newMXBeanProxy(nameCreated, IdentityTestModuleMXBean.class);
final IdentitiesContainer c = new IdentitiesContainer();
c.setAfi(new IdentityAttributeRef(TestIdentity2.QNAME.toString()));
mxBean.setIdentitiesContainer(c);
transaction.commit();
}
Aggregations