-
Notifications
You must be signed in to change notification settings - Fork 113
Updated oc interface models, bug fixes and few new nodes support #171
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
base: master
Are you sure you want to change the base?
Updated oc interface models, bug fixes and few new nodes support #171
Conversation
- Added missing samping-rate node in deviation file - Give error when delete op is done at collector/config nodes
-- Taken all changes till May 7, 2025 oc-interface version "3.8.0" Add interface-transitions and link-transitions counters 785b890a6369901d5cc227f1a86de98b694305d7
Supported interface tree
--------
```
module: openconfig-interfaces
+--rw interfaces
+--rw interface* [name]
+--rw name -> ../config/name
+--rw config
| +--rw name? string
| +--rw mtu? uint16
| +--rw description? string
| +--rw enabled? boolean
+--ro state
| +--ro name? string
| +--ro mtu? uint16
| +--ro description? string
| +--ro enabled? boolean
| +--ro admin-status enumeration
| +--ro counters
| +--ro in-octets? oc-yang:counter64
| +--ro in-pkts? oc-yang:counter64
| +--ro in-unicast-pkts? oc-yang:counter64
| +--ro in-broadcast-pkts? oc-yang:counter64
| +--ro in-multicast-pkts? oc-yang:counter64
| +--ro in-errors? oc-yang:counter64
| +--ro in-discards? oc-yang:counter64
| +--ro out-octets? oc-yang:counter64
| +--ro out-pkts? oc-yang:counter64
| +--ro out-unicast-pkts? oc-yang:counter64
| +--ro out-broadcast-pkts? oc-yang:counter64
| +--ro out-multicast-pkts? oc-yang:counter64
| +--ro out-discards? oc-yang:counter64
| +--ro out-errors? oc-yang:counter64
+--rw subinterfaces
| +--rw subinterface* [index]
| +--rw index -> ../config/index
| +--rw config
| | +--rw index? uint32
| +--ro state
| | +--ro index? uint32
| +--rw oc-ip:ipv4
| | +--rw oc-ip:addresses
| | +--rw oc-ip:address* [ip]
| | +--rw oc-ip:ip -> ../config/ip
| | +--rw oc-ip:config
| | | +--rw oc-ip:ip? oc-inet:ipv4-address
| | | +--rw oc-ip:prefix-length? uint8
| | +--ro oc-ip:state
| | +--ro oc-ip:ip? oc-inet:ipv4-address
| | +--ro oc-ip:prefix-length? uint8
| +--rw oc-ip:ipv6
| +--rw oc-ip:addresses
| | +--rw oc-ip:address* [ip]
| | +--rw oc-ip:ip -> ../config/ip
| | +--rw oc-ip:config
| | | +--rw oc-ip:ip? oc-inet:ipv6-address
| | | +--rw oc-ip:prefix-length uint8
| | +--ro oc-ip:state
| | +--ro oc-ip:ip? oc-inet:ipv6-address
| | +--ro oc-ip:prefix-length uint8
| +--rw oc-ip:config
| | +--rw oc-ip:enabled? boolean
| +--ro oc-ip:state
| +--ro oc-ip:enabled? boolean
+--rw oc-eth:ethernet
| +--rw oc-eth:config
| | +--rw oc-eth:auto-negotiate? boolean
| | +--rw oc-eth:port-speed? identityref
| | +--rw oc-lag:aggregate-id? -> /oc-if:interfaces/interface/name
| +--ro oc-eth:state
| +--ro oc-eth:auto-negotiate? boolean
| +--ro oc-eth:port-speed? identityref
| +--ro oc-eth:counters
| | +--ro oc-eth:in-oversize-frames? oc-yang:counter64
| | +--ro oc-eth:in-undersize-frames? oc-yang:counter64
| | +--ro oc-eth:in-jabber-frames? oc-yang:counter64
| | +--ro oc-eth:in-fragment-frames? oc-yang:counter64
| | +--ro oc-eth-ext:in-distribution
| | +--ro oc-eth-ext:in-frames-64-octets? oc-yang:counter64
| | +--ro oc-eth-ext:in-frames-65-127-octets? oc-yang:counter64
| | +--ro oc-eth-ext:in-frames-128-255-octets? oc-yang:counter64
| | +--ro oc-eth-ext:in-frames-256-511-octets? oc-yang:counter64
| | +--ro oc-eth-ext:in-frames-512-1023-octets? oc-yang:counter64
| | +--ro oc-eth-ext:in-frames-1024-1518-octets? oc-yang:counter64
| +--ro oc-lag:aggregate-id? -> /oc-if:interfaces/interface/name
+--rw oc-lag:aggregation
+--rw oc-lag:config
| +--rw oc-lag:min-links? uint16
+--ro oc-lag:state
+--ro oc-lag:min-links? uint16
```
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
config/type state/type state/ifindex state/oper-status state/last-change state/management state/cpu state/logical aggregate/lag-type
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@kwangsuk @anand-kumar-subramanian @mbalachandar @amrutasali @sachinholla @sneelam20 Please help in review and merge |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@kwangsuk @sneelam20 @anand-kumar-subramanian I have rebased the change after vlan interface merge. |
|
@kwangsuk @sneelam20 @anand-kumar-subramanian Please help in merging this approved PR |
2 similar comments
|
@kwangsuk @sneelam20 @anand-kumar-subramanian Please help in merging this approved PR |
|
@kwangsuk @sneelam20 @anand-kumar-subramanian Please help in merging this approved PR |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@kwangsuk |
|
@kwangsuk @sneelam20 @anand-kumar-subramanian Please help in merging this approved PR |
HLD Udate
sonic-net/SONiC#1989
Supported tree
Fix for portchannel creation issue Not able to create New PortChannel interface from gNMI/REST interface #153
Fix for gnmi server crash on delete operation at interface/config node
Adding support for new interface leaves
How did I verify
Added test cases for new nodes and ran full test cases