Searched refs:VppEnum (Results 1 - 25 of 44) sorted by relevance

12

/vpp/src/vpp-api/python/vpp_papi/
H A D__init__.py2 from .vpp_papi import VppEnum, VppEnumType # noqa: F401 namespace
/vpp/src/plugins/memif/test/
H A Dtest_memif.py13 from vpp_papi import VppEnum namespace
123 if memif.role == VppEnum.vl_api_memif_role_t.MEMIF_ROLE_API_SLAVE:
148 VppEnum.vl_api_memif_role_t.MEMIF_ROLE_API_SLAVE,
149 VppEnum.vl_api_memif_mode_t.MEMIF_MODE_API_ETHERNET)
151 memif.role = VppEnum.vl_api_memif_role_t.MEMIF_ROLE_API_MASTER
179 VppEnum.vl_api_memif_role_t.MEMIF_ROLE_API_SLAVE,
180 VppEnum.vl_api_memif_mode_t.MEMIF_MODE_API_ETHERNET)
185 memif.role = VppEnum.vl_api_memif_role_t.MEMIF_ROLE_API_SLAVE
187 memif.role = VppEnum.vl_api_memif_role_t.MEMIF_ROLE_API_MASTER
194 VppEnum
[all...]
H A Dvpp_memif.py7 from vpp_papi import VppEnum namespace
116 f = VppEnum.vl_api_if_status_flags_t.IF_STATUS_API_FLAG_LINK_UP
/vpp/src/plugins/lacp/test/
H A Dtest_lacp.py12 from vpp_papi import VppEnum, MACAddress namespace
79 role=VppEnum.vl_api_memif_role_t.MEMIF_ROLE_API_MASTER,
80 mode=VppEnum.vl_api_memif_mode_t.MEMIF_MODE_API_ETHERNET,
87 role=VppEnum.vl_api_memif_role_t.MEMIF_ROLE_API_SLAVE,
88 mode=VppEnum.vl_api_memif_mode_t.MEMIF_MODE_API_ETHERNET,
95 mode=VppEnum.vl_api_bond_mode_t.BOND_API_MODE_LACP,
104 mode=VppEnum.vl_api_bond_mode_t.BOND_API_MODE_LACP)
241 role=VppEnum.vl_api_memif_role_t.MEMIF_ROLE_API_MASTER,
242 mode=VppEnum.vl_api_memif_mode_t.MEMIF_MODE_API_ETHERNET,
249 role=VppEnum
[all...]
/vpp/src/plugins/svs/test/
H A Dtest_svs.py13 from vpp_papi import VppEnum namespace
109 VppEnum.vl_api_address_family_t.ADDRESS_IP4, table_id)
122 VppEnum.vl_api_address_family_t.ADDRESS_IP4, table_ids[0],
125 VppEnum.vl_api_address_family_t.ADDRESS_IP4, table_ids[1],
161 self.assertEqual(ss[0].af, VppEnum.vl_api_address_family_t.ADDRESS_IP4)
164 self.assertEqual(ss[1].af, VppEnum.vl_api_address_family_t.ADDRESS_IP4)
170 VppEnum.vl_api_address_family_t.ADDRESS_IP4,
175 VppEnum.vl_api_address_family_t.ADDRESS_IP4,
186 VppEnum.vl_api_address_family_t.ADDRESS_IP4,
236 VppEnum
[all...]
/vpp/test/
H A Dvpp_gre_interface.py4 from vpp_papi import VppEnum namespace
24 self.t_type = (VppEnum.vl_api_gre_tunnel_type_t.
28 self.t_mode = (VppEnum.vl_api_tunnel_mode_t.
H A Dvpp_neighbor.py9 from vpp_papi import mac_pton, VppEnum namespace
18 e = VppEnum.vl_api_ip_neighbor_flags_t
45 e = VppEnum.vl_api_ip_neighbor_flags_t
72 e = VppEnum.vl_api_ip_neighbor_flags_t
H A Dtest_punt.py33 from vpp_papi import VppEnum namespace
177 pt_l4 = VppEnum.vl_api_punt_type_t.PUNT_API_TYPE_L4
178 af_ip4 = VppEnum.vl_api_address_family_t.ADDRESS_IP4
179 udp_proto = VppEnum.vl_api_ip_proto_t.IP_API_PROTO_UDP
193 pt_l4 = VppEnum.vl_api_punt_type_t.PUNT_API_TYPE_L4
194 af_ip6 = VppEnum.vl_api_address_family_t.ADDRESS_IP6
195 udp_proto = VppEnum.vl_api_ip_proto_t.IP_API_PROTO_UDP
235 pt_l4 = VppEnum.vl_api_punt_type_t.PUNT_API_TYPE_L4
236 af_ip4 = VppEnum.vl_api_address_family_t.ADDRESS_IP4
237 udp_proto = VppEnum
[all...]
H A Dvpp_ipip_tun_interface.py3 from vpp_papi import VppEnum namespace
22 self.mode = (VppEnum.vl_api_tunnel_mode_t.
H A Dtest_ipsec_esp.py18 from vpp_papi import VppEnum namespace
108 e = VppEnum.vl_api_ipsec_spd_action_t
192 flags = (VppEnum.vl_api_ipsec_sad_flags_t.
194 e = VppEnum.vl_api_ipsec_spd_action_t
316 e = VppEnum.vl_api_ipsec_spd_action_t
346 e = VppEnum.vl_api_ipsec_spd_action_t
404 p.flags = (VppEnum.vl_api_ipsec_sad_flags_t.
445 flag_esn = VppEnum.vl_api_ipsec_sad_flags_t.IPSEC_API_SAD_FLAG_USE_ESN
450 'vpp-crypto': (VppEnum.vl_api_ipsec_crypto_alg_t.
452 'vpp-integ': (VppEnum
[all...]
H A Dtest_ipsec_ah.py16 from vpp_papi import VppEnum namespace
122 e = VppEnum.vl_api_ipsec_spd_action_t
209 flags = params.flags | (VppEnum.vl_api_ipsec_sad_flags_t.
211 e = VppEnum.vl_api_ipsec_spd_action_t
328 algos = [{'vpp': VppEnum.vl_api_ipsec_integ_alg_t.
331 {'vpp': VppEnum.vl_api_ipsec_integ_alg_t.
334 {'vpp': VppEnum.vl_api_ipsec_integ_alg_t.
337 {'vpp': VppEnum.vl_api_ipsec_integ_alg_t.
341 flags = [0, (VppEnum.vl_api_ipsec_sad_flags_t.
H A Dtest_ipsec_api.py5 from vpp_papi import VppEnum namespace
25 self.vpp_esp_protocol = (VppEnum.vl_api_ipsec_proto_t.
27 self.vpp_ah_protocol = (VppEnum.vl_api_ipsec_proto_t.
H A Dvpp_vxlan_gbp_tunnel.py3 from vpp_papi import VppEnum namespace
36 self.mode = (VppEnum.vl_api_vxlan_gbp_api_tunnel_mode_t.
H A Dvpp_sub_interface.py6 from vpp_papi import VppEnum namespace
186 flags = (VppEnum.vl_api_sub_if_flags_t.SUB_IF_API_FLAG_DOT1AD |
187 VppEnum.vl_api_sub_if_flags_t.SUB_IF_API_FLAG_TWO_TAGS |
188 VppEnum.vl_api_sub_if_flags_t.SUB_IF_API_FLAG_EXACT_MATCH)
H A Dvpp_vxlan_tunnel.py2 from vpp_papi import VppEnum namespace
H A Dvpp_ipsec.py3 from vpp_papi import VppEnum namespace
101 self.policy = (VppEnum.vl_api_ipsec_spd_action_t.
196 e = VppEnum.vl_api_ipsec_sad_flags_t
279 e = VppEnum.vl_api_ipsec_sad_flags_t
H A Dtest_syslog.py10 from vpp_papi import VppEnum namespace
18 return VppEnum.vl_api_syslog_severity_t
H A Dtest_ipsec_tun_if_esp.py23 from vpp_papi import VppEnum namespace
29 esn_en = bool(p.flags & (VppEnum.vl_api_ipsec_sad_flags_t.
58 esn_en = bool(p.flags & (VppEnum.vl_api_ipsec_sad_flags_t.
167 p.flags = (VppEnum.vl_api_ipsec_sad_flags_t.
253 p.auth_algo_vpp_id = (VppEnum.vl_api_ipsec_integ_alg_t.
255 p.crypt_algo_vpp_id = (VppEnum.vl_api_ipsec_crypto_alg_t.
511 algos = [{'vpp-crypto': (VppEnum.vl_api_ipsec_crypto_alg_t.
513 'vpp-integ': (VppEnum.vl_api_ipsec_integ_alg_t.
519 {'vpp-crypto': (VppEnum.vl_api_ipsec_crypto_alg_t.
521 'vpp-integ': (VppEnum
[all...]
H A Dvpp_ip.py9 from vpp_papi import VppEnum namespace
/vpp/src/plugins/gbp/test/
H A Dtest_gbp.py26 from vpp_papi import VppEnum, MACAddress namespace
356 e = VppEnum.vl_api_gbp_bridge_domain_flags_t
580 return VppEnum.vl_api_nat_config_flags_t
742 ep_flags = VppEnum.vl_api_gbp_endpoint_flags_t
1054 VppEnum.vl_api_gbp_subnet_type_t.GBP_API_SUBNET_STITCHED_INTERNAL)
1057 VppEnum.vl_api_gbp_subnet_type_t.GBP_API_SUBNET_STITCHED_INTERNAL)
1060 VppEnum.vl_api_gbp_subnet_type_t.GBP_API_SUBNET_STITCHED_INTERNAL)
1063 VppEnum.vl_api_gbp_subnet_type_t.GBP_API_SUBNET_STITCHED_INTERNAL)
1066 VppEnum.vl_api_gbp_subnet_type_t.GBP_API_SUBNET_STITCHED_INTERNAL)
1069 VppEnum
[all...]
/vpp/src/plugins/acl/test/
H A Dvpp_acl.py4 from vpp_papi import VppEnum namespace
109 if self._proto == VppEnum.vl_api_ip_proto_t.IP_API_PROTO_ICMP:
114 elif self._proto == VppEnum.vl_api_ip_proto_t.IP_API_PROTO_ICMP6:
119 elif self._proto == VppEnum.vl_api_ip_proto_t.IP_API_PROTO_TCP:
124 elif self._proto == VppEnum.vl_api_ip_proto_t.IP_API_PROTO_UDP:
130 if self._proto == VppEnum.vl_api_ip_proto_t.IP_API_PROTO_ICMP:
135 elif self._proto == VppEnum.vl_api_ip_proto_t.IP_API_PROTO_ICMP6:
140 elif self._proto == VppEnum.vl_api_ip_proto_t.IP_API_PROTO_TCP:
145 elif self._proto == VppEnum.vl_api_ip_proto_t.IP_API_PROTO_UDP:
/vpp/src/plugins/ikev2/test/
H A Dvpp_ikev2.py2 from vpp_papi import VppEnum namespace
/vpp/src/plugins/nat/test/
H A Dtest_ipsec_nat.py16 from vpp_papi import VppEnum namespace
168 flags = (VppEnum.vl_api_ipsec_sad_flags_t.
170 e = VppEnum.vl_api_ipsec_spd_action_t
H A Dtest_nat66.py32 from vpp_papi import VppEnum namespace
39 return VppEnum.vl_api_nat_config_flags_t
/vpp/src/plugins/urpf/test/
H A Dtest_urpf.py12 from vpp_papi import VppEnum namespace
52 e = VppEnum
174 e = VppEnum

Completed in 27 milliseconds

12