- Got a policy map in our device and use the redirect nexthop route-target command.
- Have tried to get the policy map configuration with YDK and can only get the class-name and class-type with no additional policy map rule.
- Is it possible to get the full policy map config with the current version YDK.
- The config on device is:
policy-map type pbr s100
class type traffic s1
redirect nexthop route-target 100:1
And the config with YDK is:
Support for redirection is missing in model Cisco-IOS-XR-infra-policymgr-cfg. YDK just reflects the current state of the model. Have reported the XR defect (CSCvd21030) so it can be address. Once the model is fixed, YDK will reflect the updated model.
- once the model is fixed, wether is it needed to upgrade the YDK to a new version or still use the current version.
Since the APIs are autogenerated from the models, you'd need to upgrade YDK to a version that makes use of the fixed model revision.