testing

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateOutput = `` /* 685-byte string literal not displayed */
View Source
var CreateResponse = ports.Port{
	ID:           "5e56a480-f337-4985-8ca4-98546cb4fdae",
	Name:         "EricTestPort",
	Status:       "DOWN",
	AdminStateUp: true,
	FixedIps: []ports.FixedIp{
		{
			SubnetId:  "7b4b101c-d5e2-4c52-9c6d-c6c7e1219919",
			IpAddress: "192.168.0.208",
		},
	},
	MacAddress:  "fa:16:3e:6b:b5:10",
	NetworkId:   "5ae24488-454f-499c-86c4-c0355704005d",
	TenantId:    "57e98940a77f4bb988a21a7d0603a626",
	DeviceId:    "",
	DeviceOwner: "",
	SecurityGroups: []string{
		"7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
	},
	ExtraDhcpOpts:       []ports.ExtraDHCPOpt{},
	AllowedAddressPairs: []ports.AllowedAddressPair{},
	BindingvnicType:     "normal",
}
View Source
var GetOutput = `` /* 895-byte string literal not displayed */
View Source
var GetResponse = ports.Port{
	ID:           "5e56a480-f337-4985-8ca4-98546cb4fdae",
	Name:         "ModifiedPort",
	Status:       "DOWN",
	AdminStateUp: true,
	FixedIps: []ports.FixedIp{
		{
			SubnetId:  "7b4b101c-d5e2-4c52-9c6d-c6c7e1219919",
			IpAddress: "192.168.0.208",
		},
	},
	MacAddress:  "fa:16:3e:6b:b5:10",
	NetworkId:   "5ae24488-454f-499c-86c4-c0355704005d",
	TenantId:    "57e98940a77f4bb988a21a7d0603a626",
	DeviceId:    "",
	DeviceOwner: "",
	SecurityGroups: []string{
		"7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
	},
	ExtraDhcpOpts:       []ports.ExtraDHCPOpt{},
	AllowedAddressPairs: []ports.AllowedAddressPair{},
	BindingvnicType:     "normal",
}
View Source
var ListOutput = `` /* 1614-byte string literal not displayed */
View Source
var ListResponse = []ports.Port{
	{
		ID:           "0740752d-0b2b-44e2-bf2a-edbe51c36227",
		Name:         "",
		Status:       "DOWN",
		AdminStateUp: true,
		FixedIps: []ports.FixedIp{
			{
				SubnetId:  "7b4b101c-d5e2-4c52-9c6d-c6c7e1219919",
				IpAddress: "192.168.0.196",
			},
		},
		MacAddress:          "fa:16:3e:74:e4:3a",
		NetworkId:           "5ae24488-454f-499c-86c4-c0355704005d",
		TenantId:            "57e98940a77f4bb988a21a7d0603a626",
		DeviceId:            "",
		DeviceOwner:         "neutron:VIP_PORT",
		SecurityGroups:      []string{"7844d4b4-d78f-45dc-9465-2b4d1bca83a5"},
		ExtraDhcpOpts:       []ports.ExtraDHCPOpt{},
		AllowedAddressPairs: []ports.AllowedAddressPair{},
		BindingvnicType:     "normal",
	}, {
		ID:           "127ce534-6b04-4523-9e6d-dd17fd25bf13",
		Name:         "7b4b101c-d5e2-4c52-9c6d-c6c7e1219919",
		Status:       "DOWN",
		AdminStateUp: true,
		FixedIps: []ports.FixedIp{
			{
				SubnetId:  "7b4b101c-d5e2-4c52-9c6d-c6c7e1219919",
				IpAddress: "192.168.0.1",
			},
		},
		MacAddress:          "fa:16:3e:75:43:f9",
		NetworkId:           "5ae24488-454f-499c-86c4-c0355704005d",
		TenantId:            "57e98940a77f4bb988a21a7d0603a626",
		DeviceId:            "e23caa95-2599-4aa8-a2db-be3444450e78",
		DeviceOwner:         "network:router_interface_distributed",
		SecurityGroups:      []string{"7844d4b4-d78f-45dc-9465-2b4d1bca83a5"},
		ExtraDhcpOpts:       []ports.ExtraDHCPOpt{},
		AllowedAddressPairs: []ports.AllowedAddressPair{},
		BindingvnicType:     "normal",
	},
}
View Source
var UpdateOutput = `` /* 685-byte string literal not displayed */
View Source
var UpdateResponse = ports.Port{
	ID:           "5e56a480-f337-4985-8ca4-98546cb4fdae",
	Name:         "ModifiedPort",
	Status:       "DOWN",
	AdminStateUp: true,
	FixedIps: []ports.FixedIp{
		{
			SubnetId:  "7b4b101c-d5e2-4c52-9c6d-c6c7e1219919",
			IpAddress: "192.168.0.208",
		},
	},
	MacAddress:  "fa:16:3e:6b:b5:10",
	NetworkId:   "5ae24488-454f-499c-86c4-c0355704005d",
	TenantId:    "57e98940a77f4bb988a21a7d0603a626",
	DeviceId:    "",
	DeviceOwner: "",
	SecurityGroups: []string{
		"7844d4b4-d78f-45dc-9465-2b4d1bca83a5",
	},
	ExtraDhcpOpts:       []ports.ExtraDHCPOpt{},
	AllowedAddressPairs: []ports.AllowedAddressPair{},
	BindingvnicType:     "normal",
}

Functions

func HandleCreateSuccessfully

func HandleCreateSuccessfully(t *testing.T)

func HandleDeleteSuccessfully

func HandleDeleteSuccessfully(t *testing.T)

func HandleGetSuccessfully

func HandleGetSuccessfully(t *testing.T)

func HandleListSuccessfully

func HandleListSuccessfully(t *testing.T)

func HandleUpdateSuccessfully

func HandleUpdateSuccessfully(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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