public class VirtualPublicHosts extends Object
Since we will rewrite the destination MAC address in the switch before traffic packets go to the destination, so the MAC address can be any number. We manually configured a random MAC address for this purpose in the vBNG configuration file.
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.core.CoreService |
coreService |
protected org.onosproject.net.packet.PacketService |
packetService |
protected VbngConfigurationService |
vbngConfigService |
| Constructor and Description |
|---|
VirtualPublicHosts() |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.packet.PacketService packetService
@Reference(cardinality=MANDATORY_UNARY) protected VbngConfigurationService vbngConfigService
Copyright © 2015. All rights reserved.