Created
November 4, 2018 16:55
-
-
Save edwarnicke/5f323de14805a4bba90da0ca9e844b37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dataReq := &rpc.DataRequest{ | |
Interfaces: []*interfaces.Interfaces_Interface{ | |
&interfaces.Interfaces_Interface{ | |
// Name: | |
// Description: | |
Type: interfaces.InterfaceType_TAP_INTERFACE, | |
Enabled: true, | |
Tap: &interfaces.Interfaces_Interface_Tap{ | |
Version: 2, | |
// Namespace: | |
// HostIfName: | |
}, | |
}, | |
&interfaces.Interfaces_Interface{ | |
// Name: | |
// Description: | |
Type: interfaces.InterfaceType_MEMORY_INTERFACE, | |
Enabled: true, | |
Memif: &interfaces.Interfaces_Interface_Memif{ | |
// Master: | |
// Mode: | |
// SocketFilename: | |
}, | |
}, | |
}, | |
XCons: []*l2.XConnectPairs_XConnectPair{ | |
// Don't forget to connect both way | |
&l2.XConnectPairs_XConnectPair{ | |
// ReceiveInterface: | |
// TransmitInterface: | |
}, | |
&l2.XConnectPairs_XConnectPair{ | |
// ReceiveInterface: | |
// TransmitInterface: | |
}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment