go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/vpp_types.go (about)

     1  //  Copyright (c) 2018 Cisco and/or its affiliates.
     2  //
     3  //  Licensed under the Apache License, Version 2.0 (the "License");
     4  //  you may not use this file except in compliance with the License.
     5  //  You may obtain a copy of the License at:
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  //  Unless required by applicable law or agreed to in writing, software
    10  //  distributed under the License is distributed on an "AS IS" BASIS,
    11  //  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  //  See the License for the specific language governing permissions and
    13  //  limitations under the License.
    14  
    15  package vpp
    16  
    17  import (
    18  	vpp_abf "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/abf"
    19  	vpp_acl "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/acl"
    20  	vpp_interfaces "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/interfaces"
    21  	vpp_ipsec "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/ipsec"
    22  	vpp_l2 "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/l2"
    23  	vpp_l3 "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/l3"
    24  	vpp_nat "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/nat"
    25  	vpp_punt "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/punt"
    26  	vpp_srv6 "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/srv6"
    27  	vpp_stn "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/stn"
    28  	vpp_wg "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/wireguard"
    29  )
    30  
    31  type (
    32  	// Interface
    33  	Interface = vpp_interfaces.Interface
    34  	Span      = vpp_interfaces.Span
    35  
    36  	// ACL & ABF
    37  	ACL = vpp_acl.ACL
    38  	ABF = vpp_abf.ABF
    39  
    40  	// L2
    41  	BridgeDomain = vpp_l2.BridgeDomain
    42  	L2FIB        = vpp_l2.FIBEntry
    43  	XConnect     = vpp_l2.XConnectPair
    44  
    45  	// L3
    46  	Route       = vpp_l3.Route
    47  	ARPEntry    = vpp_l3.ARPEntry
    48  	ProxyARP    = vpp_l3.ProxyARP
    49  	IPScanNeigh = vpp_l3.IPScanNeighbor
    50  	VRFTable    = vpp_l3.VrfTable
    51  	L3XConnect  = vpp_l3.L3XConnect
    52  	DHCPProxy   = vpp_l3.DHCPProxy
    53  
    54  	// NAT
    55  	NAT44Global      = vpp_nat.Nat44Global
    56  	DNAT44           = vpp_nat.DNat44
    57  	Nat44AddressPool = vpp_nat.Nat44AddressPool
    58  	Nat44Interface   = vpp_nat.Nat44Interface
    59  
    60  	// IPSec
    61  	IPSecSPD = vpp_ipsec.SecurityPolicyDatabase
    62  	IPSecSP  = vpp_ipsec.SecurityPolicy
    63  	IPSecSA  = vpp_ipsec.SecurityAssociation
    64  
    65  	// Punt
    66  	PuntIPRedirect = vpp_punt.IPRedirect
    67  	PuntToHost     = vpp_punt.ToHost
    68  	PuntException  = vpp_punt.Exception
    69  
    70  	// SRv6
    71  	SRv6Global   = vpp_srv6.SRv6Global
    72  	SRv6LocalSID = vpp_srv6.LocalSID
    73  	SRv6Policy   = vpp_srv6.Policy
    74  	SRv6Steering = vpp_srv6.Steering
    75  
    76  	// STN
    77  	STNRule = vpp_stn.Rule
    78  
    79  	// Wireguard
    80  	WgPeer = vpp_wg.Peer
    81  )