2023-02-16 12:23:33 -07:00
|
|
|
//go:build e2e_testing
|
|
|
|
// +build e2e_testing
|
|
|
|
|
|
|
|
package nebula
|
|
|
|
|
|
|
|
// This file contains functions used to export information to the e2e testing framework
|
|
|
|
|
|
|
|
import "github.com/slackhq/nebula/iputil"
|
|
|
|
|
|
|
|
func (i *HostInfo) GetVpnIp() iputil.VpnIp {
|
|
|
|
return i.vpnIp
|
|
|
|
}
|
|
|
|
|
|
|
|
func (i *HostInfo) GetLocalIndex() uint32 {
|
|
|
|
return i.localIndexId
|
|
|
|
}
|
|
|
|
|
|
|
|
func (i *HostInfo) GetRemoteIndex() uint32 {
|
|
|
|
return i.remoteIndexId
|
|
|
|
}
|
|
|
|
|
2023-03-30 10:09:20 -06:00
|
|
|
func (i *HostInfo) GetRelayState() *RelayState {
|
|
|
|
return &i.relayState
|
2023-02-16 12:23:33 -07:00
|
|
|
}
|