-
Notifications
You must be signed in to change notification settings - Fork 74
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
Issue with encoding protocol enum #566
Comments
<?xml version="1.0"?>
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6">
<edit-config>
<target>
<candidate/>
</target>
<error-option>rollback-on-error</error-option>
<config>
<telemetry-model-driven xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-telemetry-model-driven-cfg" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" nc:operation="merge">
<destination-groups>
<destination-group>
<destination-id>groupvlan</destination-id>
<vrf>test_config</vrf>
<ipv4-destinations>
<ipv4-destination>
<ipv4-address>10.10.10.10</ipv4-address>
<destination-port>4000</destination-port>
<encoding>gpb</encoding>
<protocol>
<packetsize>1500</packetsize>
<tls-hostname>nexus_router</tls-hostname>
<protocol>tcp</protocol>
<no-tls>1</no-tls>
</protocol>
</ipv4-destination>
</ipv4-destinations>
<ipv6-destinations>
<ipv6-destination>
<ipv6-address>10::10</ipv6-address>
<destination-port>4000</destination-port>
<encoding>gpb</encoding>
<protocol>
<packetsize>2000</packetsize>
<tls-hostname>nexus_router</tls-hostname>
<protocol>tcp</protocol>
<no-tls>2</no-tls>
</protocol>
</ipv6-destination>
</ipv6-destinations>
</destination-group>
</destination-groups>
<sensor-groups>
<sensor-group>
<sensor-group-identifier>nexus_router</sensor-group-identifier>
<sensor-paths>
<sensor-path>
<telemetry-sensor-path>/asa/bin</telemetry-sensor-path>
</sensor-path>
</sensor-paths>
</sensor-group>
</sensor-groups>
</telemetry-model-driven>
</config>
</edit-config>
</rpc> This has been fixed in the latest ydk-gen master branch. Now, the correct payload is produced. In the next release of YDK, they will be packaged into libydk and ydk-py. |
Ydk is missing addition of a field:
It should be :
The text was updated successfully, but these errors were encountered: