public
public copied to clipboard
Add a configurable dont-fragment flag to sflow
Change Scope
Adding a boolean configuration setting to set the df-bit for sflow packets to a particular collector. This change is backwards compatible.
Platform Implementations
- Implementation IOS XR: We are adding support for this.
- I couldn't see a second implementation that implements this, most relying on setting the max packet size, but it seems a reasonable and useful addition.
module: openconfig-sampling-sflow
augment /oc-sampling:sampling:
+--rw sflow
+--rw config
| +--rw enabled? boolean
| +--rw agent-id-ipv4? oc-inet:ipv4-address
| +--rw agent-id-ipv6? oc-inet:ipv6-address
| +--rw dscp? oc-inet:dscp
| +--rw sample-size? uint16
| +--rw polling-interval? uint16
| +--rw ingress-sampling-rate? uint32
| +--rw egress-sampling-rate? uint32
+--ro state
| +--ro enabled? boolean
| +--ro agent-id-ipv4? oc-inet:ipv4-address
| +--ro agent-id-ipv6? oc-inet:ipv6-address
| +--ro dscp? oc-inet:dscp
| +--ro sample-size? uint16
| +--ro polling-interval? uint16
| +--ro ingress-sampling-rate? uint32
| +--ro egress-sampling-rate? uint32
+--rw collectors
| +--rw collector* [address port]
| +--rw address -> ../config/address
| +--rw port -> ../config/port
| +--rw config
| | +--rw address? oc-inet:ip-address
| | +--rw port? oc-inet:port-number
| | +--rw source-address? oc-inet:ip-address
| | +--rw max-datagram-size? uint16
| | +--rw dont-fragment? boolean <--- ADDED
| | +--rw network-instance? oc-netinst:network-instance-ref
| +--ro state
| +--ro address? oc-inet:ip-address
| +--ro port? oc-inet:port-number
| +--ro source-address? oc-inet:ip-address
| +--ro max-datagram-size? uint16
| +--ro dont-fragment? boolean <--- ADDED
| +--ro network-instance? oc-netinst:network-instance-ref
| +--ro packets-sent? oc-yang:counter64
/gcbrun
No major YANG version changes in commit fe11fefa7fd7c2cc410c5ac16025ebbd8eeb36f4
/gcbrun