github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/packet_address_classifier.go (about) 1 /* Copyright © 2017 VMware, Inc. All Rights Reserved. 2 SPDX-License-Identifier: BSD-2-Clause 3 4 Generated by: https://github.com/swagger-api/swagger-codegen.git */ 5 6 package manager 7 8 // A packet is classified to have an address binding, if its address configuration matches with all user specified properties. 9 type PacketAddressClassifier struct { 10 11 // A single IP address or a subnet, e.g. x.x.x.x or x.x.x.x/y 12 IpAddress string `json:"ip_address,omitempty"` 13 14 // A single MAC address 15 MacAddress string `json:"mac_address,omitempty"` 16 17 Vlan int64 `json:"vlan,omitempty"` 18 }