Search in sources :

Example 1 with HostconfigBuilder

use of org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.hostconfigs.HostconfigBuilder in project netvirt by opendaylight.

the class NeutronHostConfigChangeListener method buildHostConfigInfo.

private Hostconfig buildHostConfigInfo(String hostId, String hostType, String hostConfig) {
    HostconfigBuilder hostconfigBuilder = new HostconfigBuilder();
    hostconfigBuilder.setHostId(hostId);
    hostconfigBuilder.setHostType(hostType);
    hostconfigBuilder.setConfig(hostConfig);
    return hostconfigBuilder.build();
}
Also used : HostconfigBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.hostconfigs.HostconfigBuilder)

Aggregations

HostconfigBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.hostconfig.rev150712.hostconfig.attributes.hostconfigs.HostconfigBuilder)1