@Test public void testLogicalNetworkIid() { EndpointGroupId consumerEpgId = new EndpointGroupId("consumerEpgId"); TenantId consumerTenantId = new TenantId("consumerTenantId"); ContractId contractId = new ContractId("contractId"); EndpointGroupId providerEpgId = new EndpointGroupId("providerEpgId"); TenantId providerTenantId = new TenantId("providerTenantId"); assertNotNull(FaasIidFactory.logicalNetworkIid(consumerEpgId, consumerTenantId, contractId, providerEpgId, providerTenantId)); }
public static InstanceIdentifier<LogicalNetwork> logicalNetworkIid(EndpointGroupId consumerEpgId, TenantId consumerTenantId, ContractId contractId, EndpointGroupId providerEpgId, TenantId providerTenantId) { return InstanceIdentifier.builder(LogicalNetworks.class) .child(LogicalNetwork.class, new LogicalNetworkKey(consumerEpgId, consumerTenantId, contractId, providerEpgId, providerTenantId)) .build(); }
FaasIidFactory { public static InstanceIdentifier<LogicalNetwork> logicalNetworkIid(EndpointGroupId consumerEpgId, TenantId consumerTenantId, ContractId contractId, EndpointGroupId providerEpgId, TenantId providerTenantId) { return InstanceIdentifier.builder(LogicalNetworks.class) .child(LogicalNetwork.class, new LogicalNetworkKey(consumerEpgId, consumerTenantId, contractId, providerEpgId, providerTenantId)) .build(); } }
FaasIidFactory { public static InstanceIdentifier<LogicalNetwork> logicalNetworkIid(EndpointGroupId consumerEpgId, TenantId consumerTenantId, ContractId contractId, EndpointGroupId providerEpgId, TenantId providerTenantId) { return InstanceIdentifier.builder(LogicalNetworks.class) .child(LogicalNetwork.class, new LogicalNetworkKey(consumerEpgId, consumerTenantId, contractId, providerEpgId, providerTenantId)) .build(); }  }
FaasIidFactory { public static InstanceIdentifier<LogicalNetwork> logicalNetworkIid(EndpointGroupId consumerEpgId, TenantId consumerTenantId, ContractId contractId, EndpointGroupId providerEpgId, TenantId providerTenantId) { return InstanceIdentifier.builder(LogicalNetworks.class) .child(LogicalNetwork.class, new LogicalNetworkKey(consumerEpgId, consumerTenantId, contractId, providerEpgId, providerTenantId)) .build(); }  static InstanceIdentifier<LogicalNetworks> logicalNetworksIid(); static InstanceIdentifier<LogicalNetwork> logicalNetworkIid(EndpointGroupId consumerEpgId,
            TenantId consumerTenantId, ContractId contractId, EndpointGroupId providerEpgId, TenantId providerTenantId); static InstanceIdentifier<MappedTenantsEntities> mappedTenantsEntitiesIid(); static InstanceIdentifier<MappedSubnet> mappedSubnetIid(TenantId gbpTenantId, SubnetId subnetId); static InstanceIdentifier<MappedTenant> mappedTenantIid(TenantId gbpTenantId); static InstanceIdentifier<MappedEntity> mappedEntityIid(TenantId gbpTenantId); static InstanceIdentifier<MappedContract> mappedContractIid(TenantId gbpTenantId, ContractId contractId); static InstanceIdentifier<MappedEndpoint> mappedEndpointIid(TenantId gbpTenantId,
            MappedEndpointKey mappedEndpointKey); }
FaasIidFactory { public static InstanceIdentifier<LogicalNetwork> logicalNetworkIid(EndpointGroupId consumerEpgId, TenantId consumerTenantId, ContractId contractId, EndpointGroupId providerEpgId, TenantId providerTenantId) { return InstanceIdentifier.builder(LogicalNetworks.class) .child(LogicalNetwork.class, new LogicalNetworkKey(consumerEpgId, consumerTenantId, contractId, providerEpgId, providerTenantId)) .build(); }  static InstanceIdentifier<LogicalNetworks> logicalNetworksIid(); static InstanceIdentifier<LogicalNetwork> logicalNetworkIid(EndpointGroupId consumerEpgId,
            TenantId consumerTenantId, ContractId contractId, EndpointGroupId providerEpgId, TenantId providerTenantId); static InstanceIdentifier<MappedTenantsEntities> mappedTenantsEntitiesIid(); static InstanceIdentifier<MappedSubnet> mappedSubnetIid(TenantId gbpTenantId, SubnetId subnetId); static InstanceIdentifier<MappedTenant> mappedTenantIid(TenantId gbpTenantId); static InstanceIdentifier<MappedEntity> mappedEntityIid(TenantId gbpTenantId); static InstanceIdentifier<MappedContract> mappedContractIid(TenantId gbpTenantId, ContractId contractId); static InstanceIdentifier<MappedEndpoint> mappedEndpointIid(TenantId gbpTenantId,
            MappedEndpointKey mappedEndpointKey);  }