use of org.onosproject.lisp.msg.types.lcaf.LispNonceLcafAddress.NonceAddressBuilder in project onos by opennetworkinglab.
the class LispNonceLcafAddressTest method setup.
@Before
public void setup() {
NonceAddressBuilder builder1 = new NonceAddressBuilder();
LispIpv4Address ipv4Address1 = new LispIpv4Address(IpAddress.valueOf(IP_ADDRESS_1));
address1 = builder1.withNonce(NONCE_1).withAddress(ipv4Address1).build();
NonceAddressBuilder builder2 = new NonceAddressBuilder();
sameAsAddress1 = builder2.withNonce(NONCE_1).withAddress(ipv4Address1).build();
NonceAddressBuilder builder3 = new NonceAddressBuilder();
LispIpv4Address ipv4Address2 = new LispIpv4Address(IpAddress.valueOf(IP_ADDRESS_2));
address2 = builder3.withNonce(NONCE_2).withAddress(ipv4Address2).build();
}
Aggregations