github.com/gophercloud/gophercloud@v1.11.0/openstack/networking/v2/extensions/portsbinding/results.go (about) 1 package portsbinding 2 3 // PortsBindingExt represents a decorated form of a Port with the additional 4 // port binding information. 5 type PortsBindingExt struct { 6 // The ID of the host where the port is allocated. 7 HostID string `json:"binding:host_id"` 8 9 // A dictionary that enables the application to pass information about 10 // functions that the Networking API provides. 11 VIFDetails map[string]interface{} `json:"binding:vif_details"` 12 13 // The VIF type for the port. 14 VIFType string `json:"binding:vif_type"` 15 16 // The virtual network interface card (vNIC) type that is bound to the 17 // neutron port. 18 VNICType string `json:"binding:vnic_type"` 19 20 // A dictionary that enables the application running on the specified 21 // host to pass and receive virtual network interface (VIF) port-specific 22 // information to the plug-in. 23 Profile map[string]interface{} `json:"binding:profile"` 24 }