public static interface ServiceNetwork.Builder
| Modifier and Type | Method and Description |
|---|---|
ServiceNetwork |
build()
Builds an immutable service network instance.
|
ServiceNetwork.Builder |
id(NetworkId networkId)
Returns service network builder with the supplied identifier.
|
ServiceNetwork.Builder |
name(String name)
Returns service network builder with the supplied name.
|
ServiceNetwork.Builder |
providers(Map<NetworkId,ServiceNetwork.DependencyType> providers)
Returns service network builder with the supplied providers.
|
ServiceNetwork.Builder |
segmentId(SegmentId segmentId)
Returns service network builder with the supplied segmentation id.
|
ServiceNetwork.Builder |
serviceIp(org.onlab.packet.IpAddress serviceIp)
Returns service network builder with the supplied service IP address.
|
ServiceNetwork.Builder |
subnet(org.onlab.packet.IpPrefix subnet)
Returns service network builder with the supplied subnet.
|
ServiceNetwork.Builder |
type(ServiceNetwork.NetworkType type)
Returns service network builder with the supplied type.
|
ServiceNetwork build()
ServiceNetwork.Builder id(NetworkId networkId)
networkId - network idServiceNetwork.Builder name(String name)
name - network nameServiceNetwork.Builder type(ServiceNetwork.NetworkType type)
type - service network typeServiceNetwork.Builder segmentId(SegmentId segmentId)
segmentId - segmentation idServiceNetwork.Builder subnet(org.onlab.packet.IpPrefix subnet)
subnet - subnetServiceNetwork.Builder serviceIp(org.onlab.packet.IpAddress serviceIp)
serviceIp - service ip addressServiceNetwork.Builder providers(Map<NetworkId,ServiceNetwork.DependencyType> providers)
providers - set of provider networkCopyright © 2018. All rights reserved.