github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/mac_learning_spec.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 // MAC learning configuration 9 type MacLearningSpec struct { 10 11 // Aging time in sec for learned MAC address 12 AgingTime int32 `json:"aging_time,omitempty"` 13 14 // Allowing source MAC address learning 15 Enabled bool `json:"enabled"` 16 17 // The maximum number of MAC addresses that can be learned on this port 18 Limit int32 `json:"limit,omitempty"` 19 20 // The policy after MAC Limit is exceeded 21 LimitPolicy string `json:"limit_policy,omitempty"` 22 23 // Allowing flooding for unlearned MAC for ingress traffic 24 UnicastFloodingAllowed bool `json:"unicast_flooding_allowed"` 25 }