Skip to content

Commit ff372f1

Browse files
committed
Merging from master
2 parents d19bdf7 + 7155331 commit ff372f1

File tree

4 files changed

+160
-1
lines changed

4 files changed

+160
-1
lines changed

api/info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
Contributions can be made in the following ways:
99
- [open an issue](https://github.com/open-traffic-generator/models/issues) in the models repository
1010
- [fork the models repository](https://github.com/open-traffic-generator/models) and submit a PR
11-
version: 1.46.0
11+
version: 1.48.0
1212
contact:
1313
url: https://github.com/open-traffic-generator/models
1414
license:

device/bgp/bgplearnedinfofilter.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,17 @@ components:
2020
type: boolean
2121
default: false
2222
x-field-uid: 2
23+
ipv4_mpls_unicast_prefix:
24+
description: >-
25+
If enabled, will store the information related to MPLS Unicast IPv4 Prefixes
26+
recieved from the peer.
27+
type: boolean
28+
default: false
29+
x-field-uid: 3
30+
ipv6_mpls_unicast_prefix:
31+
description: >-
32+
If enabled, will store the information related to MPLS Unicast IPv6 Prefixes
33+
recieved from the peer.
34+
type: boolean
35+
default: false
36+
x-field-uid: 4

device/bgp/bgpv4.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ components:
5151
learned_information_filter:
5252
x-include: ./bgp.yaml#/components/schemas/Device.Bgp/properties/learned_information_filter
5353
x-field-uid: 8
54+
traditional_nlri_for_ipv4_routes:
55+
description: >-
56+
If set to false, all IPv4 routes are advertised using MP_REACH NLRI and withdrawn using MP_UNREACH NLRI
57+
as defined in https://datatracker.ietf.org/doc/html/rfc4760#section-3.
58+
By default ( when set to true) , all IPv4 routes are advertised using traditional or REACH_NLRI and withdrawn
59+
using UNREACH_NLRI as defined in https://datatracker.ietf.org/doc/html/rfc4271#section-4.3 .
60+
This is applicable only for BGPv4 peers.
61+
type: boolean
62+
default: true
63+
x-field-uid: 16
5464
v4_routes:
5565
x-include: ./bgp.yaml#/components/schemas/Device.Bgp/properties/v4_routes
5666
x-field-uid: 9

result/bgpprefix.yaml

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ components:
2929
x-field-uid: 1
3030
ipv6_unicast:
3131
x-field-uid: 2
32+
ipv4_mpls_unicast:
33+
x-field-uid: 3
34+
ipv6_mpls_unicast:
35+
x-field-uid: 4
36+
3237
x-field-uid: 2
3338
ipv4_unicast_filters:
3439
description: >-
@@ -48,6 +53,7 @@ components:
4853
items:
4954
$ref: '#/components/schemas/BgpPrefix.Ipv6Unicast.Filter'
5055
x-field-uid: 4
56+
5157
BgpPrefix.Ipv4Unicast.Filter:
5258
type: object
5359
properties:
@@ -90,6 +96,7 @@ components:
9096
path_id:
9197
x-include: '#/components/schemas/BgpPrefix.Criteria.Base/properties/path_id'
9298
x-field-uid: 4
99+
93100
BgpPrefix.Criteria.Base:
94101
type: object
95102
properties:
@@ -141,6 +148,16 @@ components:
141148
items:
142149
$ref: '#/components/schemas/BgpPrefixIpv6Unicast.State'
143150
x-field-uid: 3
151+
ipv4_mpls_unicast_prefixes:
152+
type: array
153+
items:
154+
$ref: '#/components/schemas/BgpPrefixIpv4MplsUnicast.State'
155+
x-field-uid: 4
156+
ipv6_mpls_unicast_prefixes:
157+
type: array
158+
items:
159+
$ref: '#/components/schemas/BgpPrefixIpv6MplsUnicast.State'
160+
x-field-uid: 5
144161
BgpPrefixIpv4Unicast.State:
145162
description: >-
146163
IPv4 unicast prefix.
@@ -667,3 +684,121 @@ components:
667684
link_bandwidth_subtype:
668685
x-field-uid: 2
669686
$ref: '#/components/schemas/Result.ExtendedCommunity.NonTransitive2OctetAsType.LinkBandwidth'
687+
688+
BgpPrefixIpv4MplsUnicast.State:
689+
description: >-
690+
IPv4 MPLS unicast prefix.
691+
type: object
692+
properties:
693+
ipv4_address:
694+
description: >-
695+
An IPv4 unicast address
696+
type: string
697+
x-field-uid: 1
698+
prefix_length:
699+
type: integer
700+
format: uint32
701+
maximum: 32
702+
x-field-uid: 2
703+
origin:
704+
x-include: '#/components/schemas/BgpPrefix.State/properties/origin'
705+
x-field-uid: 3
706+
path_id:
707+
x-include: '#/components/schemas/BgpPrefix.State/properties/path_id'
708+
x-field-uid: 4
709+
ipv4_next_hop:
710+
x-include: '#/components/schemas/BgpPrefix.State/properties/ipv4_next_hop'
711+
x-field-uid: 5
712+
ipv6_next_hop:
713+
x-include: '#/components/schemas/BgpPrefix.State/properties/ipv6_next_hop'
714+
x-field-uid: 6
715+
labels:
716+
description: >-
717+
One or more MPLS Label 24 bit values bound to this address prefix.
718+
type: array
719+
items:
720+
type: integer
721+
format: uint32
722+
x-field-uid: 7
723+
communities:
724+
x-include: '#/components/schemas/BgpPrefix.State/properties/communities'
725+
x-field-uid: 8
726+
extended_communities:
727+
description: >-
728+
Optional received Extended Community attributes.
729+
Each received Extended Community attribute is available for retrieval in two forms.
730+
Support of the 'raw' format in which all 8 bytes (16 hex characters) is always present and available for use.
731+
In addition, if supported by the implementation, the Extended Community attribute may also be retrieved in the
732+
'structured' format which is an optional field.
733+
type: array
734+
items:
735+
$ref: '#/components/schemas/Result.ExtendedCommunity'
736+
x-field-uid: 9
737+
as_path:
738+
x-include: '#/components/schemas/BgpPrefix.State/properties/as_path'
739+
x-field-uid: 10
740+
local_preference:
741+
x-include: '#/components/schemas/BgpPrefix.State/properties/local_preference'
742+
x-field-uid: 11
743+
multi_exit_discriminator:
744+
x-include: '#/components/schemas/BgpPrefix.State/properties/multi_exit_discriminator'
745+
x-field-uid: 12
746+
747+
BgpPrefixIpv6MplsUnicast.State:
748+
description: >-
749+
IPv6 MPLS unicast prefix.
750+
type: object
751+
properties:
752+
ipv6_address:
753+
description: >-
754+
An IPv6 unicast address
755+
type: string
756+
x-field-uid: 1
757+
prefix_length:
758+
type: integer
759+
format: uint32
760+
maximum: 128
761+
x-field-uid: 2
762+
origin:
763+
x-include: '#/components/schemas/BgpPrefix.State/properties/origin'
764+
x-field-uid: 3
765+
path_id:
766+
x-include: '#/components/schemas/BgpPrefix.State/properties/path_id'
767+
x-field-uid: 4
768+
ipv4_next_hop:
769+
x-include: '#/components/schemas/BgpPrefix.State/properties/ipv4_next_hop'
770+
x-field-uid: 5
771+
ipv6_next_hop:
772+
x-include: '#/components/schemas/BgpPrefix.State/properties/ipv6_next_hop'
773+
x-field-uid: 6
774+
labels:
775+
description: >-
776+
One or more MPLS Label 24 bit values bound to this address prefix.
777+
type: array
778+
items:
779+
type: integer
780+
format: uint32
781+
x-field-uid: 7
782+
communities:
783+
x-include: '#/components/schemas/BgpPrefix.State/properties/communities'
784+
x-field-uid: 8
785+
extended_communities:
786+
description: >-
787+
Optional received Extended Community attributes.
788+
Each received Extended Community attribute is available for retrieval in two forms.
789+
Support of the 'raw' format in which all 8 bytes (16 hex characters) is always present and available for use.
790+
In addition, if supported by the implementation, the Extended Community attribute may also be retrieved in the
791+
'structured' format which is an optional field.
792+
type: array
793+
items:
794+
$ref: '#/components/schemas/Result.ExtendedCommunity'
795+
x-field-uid: 9
796+
as_path:
797+
x-include: '#/components/schemas/BgpPrefix.State/properties/as_path'
798+
x-field-uid: 10
799+
local_preference:
800+
x-include: '#/components/schemas/BgpPrefix.State/properties/local_preference'
801+
x-field-uid: 11
802+
multi_exit_discriminator:
803+
x-include: '#/components/schemas/BgpPrefix.State/properties/multi_exit_discriminator'
804+
x-field-uid: 12

0 commit comments

Comments
 (0)