-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zebra: RIB operational nortbound callbacks implementation #6171
Conversation
module: frr-vrf +--rw lib +--rw vrf* [name] +--rw name string +--ro id? uint32 +--ro active? boolean <false> +--rw netns {netns}? +--rw name? string Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
lib: Adding frr-vrf yang module to common place so it can be accessed from all frr modules. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
yang: add vrf model
module: frr-vrf +--rw lib +--rw vrf* [name] +--rw name string +--ro id? uint32 +--ro active? boolean <false> +--rw netns {netns}? +--rw name? string Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
lib: Adding frr-vrf yang module to common place so it can be accessed from all frr modules. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
…o nb_conversions
module: frr-interface +--rw lib +--rw interface* [name vrf] +--rw name string +--rw vrf frr-vrf:vrf-ref +--rw description? string Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
yang: add vrf ref to interface model
Yang files for staticd to use northbound APIs Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: vishaldhingra <vdhingra@vmware.com> Signed-off-by: vishaldhingra <vdhingra@vmware.com>
Yang files for basic frr-routing used by other daemons like staticd and pim Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: vishaldhingra <vdhingra@vmware.com> Signed-off-by: vishaldhingra <vdhingra@vmware.com>
A common nexthop and group nexthop yang data model for all protocols in FRR. Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: Vishaldhingra <vdhingra@vmware.com> Signed-off-by: Santosh P K <sapk@vmware.com>
lib: FRR next-hop yang data model.
staticd: yang definition
lib: yang defination for basic routing frr-routing
module: frr-vrf +--rw lib +--rw vrf* [name] +--rw name string +--ro id? uint32 +--ro active? boolean <false> +--rw netns {netns}? +--rw name? string Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
lib: Adding frr-vrf yang module to common place so it can be accessed from all frr modules. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
module: frr-interface +--rw lib +--rw interface* [name vrf] +--rw name string +--rw vrf frr-vrf:vrf-ref +--rw description? string Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
A common nexthop and group nexthop yang data model for all protocols in FRR. Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: Vishaldhingra <vdhingra@vmware.com> Signed-off-by: Santosh P K <sapk@vmware.com>
Yang files for staticd to use northbound APIs Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: vishaldhingra <vdhingra@vmware.com> Signed-off-by: vishaldhingra <vdhingra@vmware.com>
Yang files for basic frr-routing used by other daemons like staticd and pim Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: vishaldhingra <vdhingra@vmware.com> Signed-off-by: vishaldhingra <vdhingra@vmware.com>
…o nb_conversions
module: frr-vrf +--rw lib +--rw vrf* [name] +--rw name string +--ro id? uint32 +--ro active? boolean <false> +--rw netns {netns}? +--rw name? string Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
lib: Adding frr-vrf yang module to common place so it can be accessed from all frr modules. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
module: frr-interface +--rw lib +--rw interface* [name vrf] +--rw name string +--rw vrf frr-vrf:vrf-ref +--rw description? string Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
A common nexthop and group nexthop yang data model for all protocols in FRR. Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: Vishaldhingra <vdhingra@vmware.com> Signed-off-by: Santosh P K <sapk@vmware.com>
Yang files for staticd to use northbound APIs Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: vishaldhingra <vdhingra@vmware.com> Signed-off-by: vishaldhingra <vdhingra@vmware.com>
Yang files for basic frr-routing used by other daemons like staticd and pim Co-authored-by: Santosh P K <sapk@vmware.com> Co-authored-by: vishaldhingra <vdhingra@vmware.com> Signed-off-by: vishaldhingra <vdhingra@vmware.com>
…o nb_conversions
module: frr-vrf +--rw lib +--rw vrf* [name] +--rw name string +--ro id? uint32 +--ro active? boolean <false> +--rw netns {netns}? +--rw name? string Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
lib: Adding frr-vrf yang module to common place so it can be accessed from all frr modules. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Definition of the northbound callbacks and associated YANG data paths for zebra. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Grouping is referencing leaves outside the grouping from where it is used. Removing it and defining leaves at the used place. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
FRR rib model need to accomodate route entries for a given destination prefix. Add a list of route entry under the list of prefix. +--rw ribs +--rw rib* [afi-safi-name table-id] +--rw table-id uint32 +--rw afi-safi-name identityref +--ro route* [prefix] +--ro prefix ietf-inet-types:ip-prefix +--ro route-entry* [protocol] +--ro protocol frr-route-types:frr-route-types-v4 +--ro instance? uint16 +--ro distance? uint8 +--ro metric? uint32 +--ro tag? uint32 +--ro selected? empty +--ro installed? empty +--ro failed? empty +--ro queued? empty +--ro internal-flags? int32 +--ro internal-status? int32 +--ro uptime? ietf-yang-types:date-and-time +--ro nexthop-group* [name] +--ro name string +--ro frr-nexthops +--ro nexthop* [nh-type gateway interface] +--ro nh-type frr-nexthop:nexthop-type +--ro vrf? frr-vrf:vrf-ref +--ro gateway frr-nexthop:optional-ip-address +--ro interface frr-interface:interface-ref +--ro bh-type? frr-nexthop:blackhole-type +--ro onlink? boolean <false> +--ro mpls-label-stack | +--ro entry* [id] | +--ro id uint8 | +--ro label? ietf-routing-types:mpls-label | +--ro ttl? uint8 | +--ro traffic-class? uint8 +--ro duplicate? empty +--ro recursive? empty +--ro active? empty +--ro fib? empty Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
yang: zebra rib operational model
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
lib: yang northbound wrappers - type empty nexthop type2str
Defined frr-igmp.yang file for IGMP protocol. Co-authored-by: Sarita Patra <saritap@vmware.com> Co-authored-by: Santosh P K <sapk@vmware.com> Signed-off-by: Sarita Patra <saritap@vmware.com>
yang: igmp yang definition
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Certain xpath are well 256 characters, increasing to 512. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
add weight field to operational model. add leafref to nexthopgroup. format according to yanglint. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-11668/ This is a comment from an automated CI system. Warnings Generated during build:Debian 10 amd64 build: Successful with additional warningsDebian Package lintian failed for Debian 10 amd64 build:
|
The set of changes contain zebra's RIB operational model's northbound callbacks implementation.
Add zebra container to operational model.