sfctestdata

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VPP1MEMIF2_Loopback_VETH = sfccore.YamlConfig{
	HEs: []controller.HostEntity{{
		Name: "HOST-1",

		EthIfName:       "GigabitEthernet13/0/0",
		EthIpv4:         "8.42.0.2",
		LoopbackMacAddr: "02:00:00:AA:BB:00",
		LoopbackIpv4:    "6.0.0.100"},
	},
	SFCs: []controller.SfcEntity{{
		Name:        "sfc1",
		Description: "Wire 2 VNF containers to the vpp switch",
		Type:        controller.SfcType_SFC_EW_BD,
		Elements: []*controller.SfcEntity_SfcElement{{
			PortLabel:        "vpp1_memif1",
			MacAddr:          "02:02:02:02:02:02",
			EtcdVppSwitchKey: "HOST-1",
			Type:             controller.SfcElementType_CONTAINER_AGENT_VPP_MEMIF,
		}, {
			PortLabel:        "vpp1_memif2",
			Ipv4Addr:         "10:0:0:10",
			EtcdVppSwitchKey: "HOST-1",
			Type:             controller.SfcElementType_CONTAINER_AGENT_VPP_MEMIF,
		}, {
			PortLabel:        "agent1_afpacket1",
			Ipv4Addr:         "10:0:0:11",
			EtcdVppSwitchKey: "HOST-1",
			Type:             controller.SfcElementType_CONTAINER_AGENT_VPP_AFP,
		}},
	}},
	EEs: []controller.ExternalEntity{{
		Name:            "VRouter-1",
		MgmntIpAddress:  "192.168.42.1",
		BasicAuthUser:   "cisco",
		BasicAuthPasswd: "cisco",
	}, {
		Name:            "RAS-1",
		MgmntIpAddress:  "192.168.42.2",
		BasicAuthUser:   "cisco",
		BasicAuthPasswd: "cisco",
	}},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL