Skip to content

Conversation

@soumya-gargari
Copy link

Overview

This document describes the implementation of L3 SubInterface functionality in SONiC using OpenConfig YANG models. The feature enables configuration of VLAN-tagged subinterfaces with IPv4/IPv6 addresses through gNMI/REST APIs.

Key Features

  • VLAN SubInterface Creation: Support for VLAN-tagged subinterfaces with index > 0
  • L3 Address Configuration: IPv4 and IPv6 address assignment on subinterfaces
  • Database Integration: Mapping to SONiC VLAN_SUB_INTERFACE and INTERFACE tables
  • CRUD Operations: Complete support for CREATE, READ, UPDATE, DELETE operations
  • Index-based Logic: Different behavior for index 0 vs index > 0

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@soumya-gargari soumya-gargari changed the title Added support for Openconfig_L3SubInterface initial HLD L3 SubInterface HLD Dec 3, 2025
## Overview

This document describes the implementation of L3 SubInterface functionality in SONiC using OpenConfig YANG models. The feature enables configuration of VLAN-tagged subinterfaces with IPv4/IPv6 addresses through gNMI/REST APIs.

### Key Features

- **VLAN SubInterface Creation**: Support for VLAN-tagged subinterfaces with index > 0
- **L3 Address Configuration**: IPv4 and IPv6 address assignment on subinterfaces
- **Database Integration**: Mapping to SONiC `VLAN_SUB_INTERFACE` and `INTERFACE` tables
- **CRUD Operations**: Complete support for CREATE, READ, UPDATE, DELETE operations
- **Index-based Logic**: Different behavior for index 0 vs index > 0

Signed-off-by: Soumya Gargari <[email protected]>
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

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.

2 participants