Skip to content

Device features advertised in capability for imported model should be considered #777

@ghost

Description

If a device advertises feature compliance in a model 'x' that is imported by model 'y', these features must be considered by YDK when validating the yang models.

Current behavior

Currently, because the features from hello message capabilities are not correctly parsed, something like the below error occurs

ydk.errors.YCoreError:  YCodecError:Unknown element "ipsec".. Path: /Cisco-IOS-XE-native:native/interface/Tunnel[name='1']/Cisco-IOS-XE-tunnel:tunnel/protection/Cisco-IOS-XE-crypto:ipsec

or

YError: YCodecError:Unknown element "bundle-name".. Path: /Cisco-IOS-XE-native:native/multilink/Cisco-IOS-XE-ppp:bundle-name

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions