Skip to content

azure-pipelines: migrate libyang1 deb install to libyang3#161

Merged
vaibhavhd merged 1 commit into
sonic-net:masterfrom
bhouse-nexthop:bhouse.libyang3-debs
Jun 3, 2026
Merged

azure-pipelines: migrate libyang1 deb install to libyang3#161
vaibhavhd merged 1 commit into
sonic-net:masterfrom
bhouse-nexthop:bhouse.libyang3-debs

Conversation

@bhouse-nexthop

Copy link
Copy Markdown
Contributor

Why I did it

sonic-buildimage no longer builds the libyang 1.0.73 debs (libyang, libyang-cpp, python3-yang); it now builds only libyang3. The CI pipeline still downloads and installs the removed libyang1 debs from the sonic-buildimage build artifacts, so it must switch to the libyang3 debs.

Part of sonic-net/sonic-buildimage#22385.

How I did it

Updated azure-pipelines.yml to consume the libyang3 debs using versionless globs:

  • Download/install libyang3_*.deb and libyang-dev_*.deb in place of the versioned libyang*1.0.73* set.
  • Renamed python3-yang_*.deb to python3-libyang_*.deb.
  • Dropped the removed libyang-cpp deb.
  • Generalized the LIBPCRE3 comment that referenced libyang 1.0.73 to reference libyang3.

How to verify it

  • Run the azure-pipelines.yml build and confirm the download step pulls the libyang3 debs from the sonic-buildimage artifacts and dpkg -i installs them without error.
  • Confirm the sonic-mgmt-framework build/tests succeed with the libyang3 packages installed.

Description for the changelog

azure-pipelines: migrate libyang1 deb install to libyang3

@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

sonic-buildimage no longer builds the libyang 1.0.73 debs (libyang,
libyang-cpp, python3-yang); it now builds only libyang3. Update the
pipeline to download and install the libyang3 debs using versionless
globs:

- download/install libyang3_*.deb and libyang-dev_*.deb (replacing the
  versioned libyang*1.0.73* set)
- python3-yang_*.deb -> python3-libyang_*.deb
- drop the removed libyang-cpp deb
- generalize the LIBPCRE3 comment to reference libyang3

Part of sonic-net/sonic-buildimage#22385.

Signed-off-by: Brad House <bhouse@nexthop.ai>
@bhouse-nexthop bhouse-nexthop force-pushed the bhouse.libyang3-debs branch from d0f1530 to 02214d7 Compare May 31, 2026 14:38
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@rookie-who

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 161 in repo sonic-net/sonic-mgmt-framework

@rookie-who rookie-who left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — good improvement switching from overly broad libyang*.deb glob to explicit libyang3 patterns.

@vaibhavhd

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@vaibhavhd vaibhavhd merged commit 5dd487b into sonic-net:master Jun 3, 2026
6 checks passed
eduardoterto added a commit to terto-networks/sonic-mgmt-framework that referenced this pull request Jun 16, 2026
* azure-pipelines: migrate libyang1 deb install to libyang3 (sonic-net#161)

sonic-buildimage no longer builds the libyang 1.0.73 debs (libyang,
libyang-cpp, python3-yang); it now builds only libyang3. Update the
pipeline to download and install the libyang3 debs using versionless
globs:

- download/install libyang3_*.deb and libyang-dev_*.deb (replacing the
  versioned libyang*1.0.73* set)
- python3-yang_*.deb -> python3-libyang_*.deb
- drop the removed libyang-cpp deb
- generalize the LIBPCRE3 comment to reference libyang3

Part of sonic-net/sonic-buildimage#22385.

Signed-off-by: Brad House <bhouse@nexthop.ai>

* feat(klish): mtr/nslookup/dig/host na privileged-view (espelhando exec)

PR #22 adicionou esses comandos so' na exec-view (user mode `>`).
Operador no `enable` (`#`) nao tem acesso — ping/traceroute estao
DUPLICADOS no privileged-view, entao mtr/etc precisam do mesmo.
Bug descoberto smoke fresh v0.7.18 final.

---------

Signed-off-by: Brad House <bhouse@nexthop.ai>
Co-authored-by: Brad House - Nexthop <bhouse@nexthop.ai>
eduardoterto added a commit to terto-networks/sonic-mgmt-framework that referenced this pull request Jun 16, 2026
* azure-pipelines: migrate libyang1 deb install to libyang3 (sonic-net#161)

sonic-buildimage no longer builds the libyang 1.0.73 debs (libyang,
libyang-cpp, python3-yang); it now builds only libyang3. Update the
pipeline to download and install the libyang3 debs using versionless
globs:

- download/install libyang3_*.deb and libyang-dev_*.deb (replacing the
  versioned libyang*1.0.73* set)
- python3-yang_*.deb -> python3-libyang_*.deb
- drop the removed libyang-cpp deb
- generalize the LIBPCRE3 comment to reference libyang3

Part of sonic-net/sonic-buildimage#22385.

Signed-off-by: Brad House <bhouse@nexthop.ai>

* feat(klish): Top-5 ROI gap fixes

1. BGP one-liner neighbor X remote-as Y (config-router-bgp-view)
   + neighbor update-source/description/peer-group atalhos. Antes
   precisava entrar em config-router-bgp-nbr-view aninhado.

2. show ip bgp summary/neighbors, show bgp ipv4 vpn, show bgp l2vpn
   evpn, show evpn vni/mac/arp-cache/es, show l2vpn atom vc/binding,
   show isis neighbor/database/interface/route, show sr-te policy.
   Wrappers vtysh estruturados (operador nao precisa cair em bash).

3. Sweep SUBCOMMAND value="<kw>" em isis (af unicast), qos
   (traffic-class, queue, pg), interface (wred-profile, scheduler,
   profile), l2vpn (pw-id). Bug documentado em
   project_klish_subcommand_value_fix.

---------

Signed-off-by: Brad House <bhouse@nexthop.ai>
Co-authored-by: Brad House - Nexthop <bhouse@nexthop.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants