[YANGTOOLS-403] Add support for tailf:action Created: 27/Jan/15  Updated: 10/Apr/22

Status: Confirmed
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature
Reporter: Wojciech Dec Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File tailf-common@2014-06-30.yang    
Issue Links:
Blocks
is blocked by YANGTOOLS-365 Milestone: Implementation of parser s... Resolved
is blocked by YANGTOOLS-830 Allow extensions to bind to multiple ... Confirmed
Relates
relates to YANGTOOLS-859 Augmenting a container with if-feature Resolved

 Description   

When compiling he attached tail-f model, yangtools 0.6.3 generates multiple errors:

[WARNING] Error in module [tailf-common, 621, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 675, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 705, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 773, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 801, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 844, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 877, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 913, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 925, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 939, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 940, http://tail-f.com/yang/common:enum subtree] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 941, http://tail-f.com/yang/common:enum object] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 942, http://tail-f.com/yang/common:enum node] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 975, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 976, http://tail-f.com/yang/common:enum subtree] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 977, http://tail-f.com/yang/common:enum object] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 978, http://tail-f.com/yang/common:enum node] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1012, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1013, http://tail-f.com/yang/common:enum per-operation] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1014, http://tail-f.com/yang/common:enum per-transaction] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1016, http://tail-f.com/yang/common:default per-operation] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1031, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1048, http://tail-f.com/yang/common:type uint64] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1061, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1062, http://tail-f.com/yang/common:length 1..255] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1077, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1113, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1126, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1127, http://tail-f.com/yang/common:range 1..max] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1159, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1201, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1202, http://tail-f.com/yang/common:enum normal] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1203, http://tail-f.com/yang/common:description Entries are sorted on the key values.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1206, http://tail-f.com/yang/common:enum snmp] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1207, http://tail-f.com/yang/common:description All string key values are considered to
start with a length byte for the purpose of sorting.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1211, http://tail-f.com/yang/common:enum snmp-implied] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1212, http://tail-f.com/yang/common:description As 'snmp', but uses a length byte for all except the last key.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1215, http://tail-f.com/yang/common:enum unsorted] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1216, http://tail-f.com/yang/common:description Entries do not have any special order. Note that it is
not possible to use the function 'find_next' on an
unsorted list. If an unsorted list is filtered (e.g.,
in the CLI, the entire list must be traversed.

If this value is given for a list stored in CDB, it
has no effect.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1226, http://tail-f.com/yang/common:default normal] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1241, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1285, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1286, http://tail-f.com/yang/common:default false] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1301, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1327, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1341, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1370, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1471, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1488, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1539, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1555, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1609, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1635, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1681, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1708, http://tail-f.com/yang/common:type int32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1728, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1740, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1756, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1798, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1827, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1870, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1888, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1905, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1920, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1944, http://tail-f.com/yang/common:type tailf:tailf-oid] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1972, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2066, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2087, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2088, http://tail-f.com/yang/common:range 1..max] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2106, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2141, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2190, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2221, http://tail-f.com/yang/common:type union] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2222, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2223, http://tail-f.com/yang/common:type int32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2265, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2286, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2316, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2435, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2452, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2468, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2514, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2617, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2641, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2696, http://tail-f.com/yang/common:type boolean] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2697, http://tail-f.com/yang/common:default true] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2709, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2710, http://tail-f.com/yang/common:enum sigkill] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2711, http://tail-f.com/yang/common:enum sigint] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2712, http://tail-f.com/yang/common:enum sigterm] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2714, http://tail-f.com/yang/common:default sigkill] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2729, http://tail-f.com/yang/common:type union] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2730, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2731, http://tail-f.com/yang/common:enum confd] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2732, http://tail-f.com/yang/common:description The command is run as the same user id as the ConfD daemon.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2735, http://tail-f.com/yang/common:enum user] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2736, http://tail-f.com/yang/common:description The command is run as the same user id as the user logged
in to ConfD. This user id MUST exist as an actual user id
in the underlying operating system.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2741, http://tail-f.com/yang/common:enum root] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2742, http://tail-f.com/yang/common:description The command is run as root.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2746, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2766, http://tail-f.com/yang/common:type union] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2767, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2768, http://tail-f.com/yang/common:enum confd] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2769, http://tail-f.com/yang/common:description The command is run as the same group id as the ConfD daemon.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2772, http://tail-f.com/yang/common:enum user] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2773, http://tail-f.com/yang/common:description The command is run as the same group id as the user logged
in to ConfD. This group id MUST exist as an actual group id
in the underlying operating system.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2778, http://tail-f.com/yang/common:enum root] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2779, http://tail-f.com/yang/common:description The command is run as root.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2783, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2803, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2816, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2864, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 3006, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 3054, http://tail-f.com/yang/common:type uint8] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 3069, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 226, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 309, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 335, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 356, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 379, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 524, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 641, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 676, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 773, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 790, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 806, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 827, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 875, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 900, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 951, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 982, http://tail-f.com/yang/common:type tailf:identifier] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1008, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1077, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1121, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1326, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1340, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1359, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1383, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1399, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1415, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1416, http://tail-f.com/yang/common:enum left] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1417, http://tail-f.com/yang/common:enum center] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1418, http://tail-f.com/yang/common:enum right] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1656, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1708, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1735, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1786, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1816, http://tail-f.com/yang/common:type uint32] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1887, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 1978, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2031, http://tail-f.com/yang/common:type tailf:cli-template-string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2054, http://tail-f.com/yang/common:type tailf:cli-template-string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2087, http://tail-f.com/yang/common:type tailf:cli-template-string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2106, http://tail-f.com/yang/common:type tailf:cli-template-string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2125, http://tail-f.com/yang/common:type tailf:cli-template-string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2145, http://tail-f.com/yang/common:type tailf:cli-template-string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2167, http://tail-f.com/yang/common:type tailf:cli-template-string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2187, http://tail-f.com/yang/common:type tailf:cli-template-string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 2223, http://tail-f.com/yang/common:type tailf:cli-template-string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 63, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 76, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 101, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 102, http://tail-f.com/yang/common:enum ?] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 103, http://tail-f.com/yang/common:description The extenstion may be given zero or one time.
This is the default.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 107, http://tail-f.com/yang/common:enum *] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 108, http://tail-f.com/yang/common:description The extenstion may be given zero or multiple times.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 111, http://tail-f.com/yang/common:enum +] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 112, http://tail-f.com/yang/common:description The extenstion must be given at least once.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 115, http://tail-f.com/yang/common:enum 1] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 116, http://tail-f.com/yang/common:description The extenstion must be given exactly once.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 63, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 76, http://tail-f.com/yang/common:type string] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 101, http://tail-f.com/yang/common:type enumeration] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 102, http://tail-f.com/yang/common:enum ?] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 103, http://tail-f.com/yang/common:description The extenstion may be given zero or one time.
This is the default.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 107, http://tail-f.com/yang/common:enum *] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 108, http://tail-f.com/yang/common:description The extenstion may be given zero or multiple times.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 111, http://tail-f.com/yang/common:enum +] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 112, http://tail-f.com/yang/common:description The extenstion must be given at least once.] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 115, http://tail-f.com/yang/common:enum 1] at line {}: Failed to resolve node {}: no such extension definition found.
[WARNING] Error in module [tailf-common, 116, http://tail-f.com/yang/common:description The extenstion must be given exactly once.] at line {}: Failed to resolve node {}: no such extension definition found.



 Comments   
Comment by Wojciech Dec [ 27/Jan/15 ]

Attachment tailf-common@2014-06-30.yang has been added with description: Yang model

Comment by Tony Tkacik [ 06/Feb/15 ]

Actually this is warning by Yangtools,
that augmentation is trying to augment used extensions, which is not allowed
by pure RFC6020 semantics.

Current best-effort and correct behaviour is to emit warning since parser
did not processed part of schema. With strong requirement on parsing,
loading this model will not even be fully possible, since model is not
RFC6020 compliant
(6020 states that valid augmentation targets are input and output, input and output could be used only in rpc).

This will be resolved by introducing APIs and support in Lithium, which will allow
parser to understand semantics introduced by such extensions.

Comment by Robert Varga [ 18/Mar/15 ]

The infrastructure to support this will be in Lithium, I do not believe we can make these specific extension work before Beryllium.

Comment by Robert Varga [ 09/Dec/15 ]

Can you upload the latest module, along with the two submodules it is referencing?

Comment by Robert Varga [ 08/Jan/16 ]

As it turns out we will need a more generic solution to this problem, which will work for any use of augment which crosses a language extension.

UnknownSchemaNode gives us a way of expressing the statement tree even when we do not know the exact semantics.

Comment by Peter Verthez [ 18/Sep/18 ]

We may have a similar case, where a deviation to something inside a tailf extension (a leaf in a tailf:action) does not work: it fails to find the target node.  We get an error like:

Failed to parse YANG from source SourceSpecificContext [source=YangStatementStreamSource

{identifier=RevisionSourceIdentifier [name=tailf-aaa-security-extension-dev@2018-08-30]}

, current=EFFECTIVE_MODEL, finished=FULL_DECLARATION]: Deviation target 'Absolute

{path=[([http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)aaa,] ([http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)authentication,] ([http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)users,] ([http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)user,] ([http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)change-password,] ([http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)input,] ([http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)new-password]]}

' not found. [at null:51:2]

where change-password is the tailf:action.

Would that also be tracked with the current ticket, or should I submit a different ticket?

What is the plan for fixing this?

Comment by Peter Verthez [ 18/Sep/18 ]

Note that we are on ODL 2.0.7.

Comment by Robert Varga [ 22/Sep/18 ]

No need to open a new issue. There is no explicit plan/timeline for fixing this, as so far it has been seen as a low priority item – it is a vendor extension superseded by YANG 1.1 after all. What is the use case being hurt by this issue?

Comment by Peter Verthez [ 24/Sep/18 ]

We are managing a device that is using some tailf models like tailf-aaa (https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/1651/tailf-aaa.yang for reference, but it's not that device), and then it applies deviations on that model.   It tries to restrict the list of characters for the password fields in the change-password action.

We have no choice currently than to comment out that deviation.

Note that we have ourselves no leverage over the model: we have to accept the model as it comes from the vendor.   We can only comment it out at our side, and then rely on an error that the device will give if the deviation is not followed.

Comment by Robert Varga [ 10/Oct/18 ]

Right. With YANGTOOLS-859 in the picture, I am not sure tony.tkacik@gmail.com's reading RFC6020 (and RFC7950) is quite correct. The system should behave as if:

  1. the schema tree was completely constructed
  2. augment/deviate statements are applied
  3. unsupported parts of the tree are dropped
    • YANGTOOLS-859 deals with unsupported due to if-feature
    • this issue deals with unsupported due to being an unsupported extension
  4. effective model is built

 

Comment by Robert Varga [ 15/Oct/18 ]

Looking at this a bit more, tony.tkacik@gmail.com is actually right. It is not enough that the statement is present, we have to know that it is a statement which is part of the schema tree (as opposed to an annotation-type extension) and hence we must not populate it into the schema tree – otherwise we would run into schema node identifier conflicts (not to mention repeatable extension statements, like annotations).

We really need explicit support for tailf:action, which establishes this link. verthezpw does device expose the models using YANG1.1 at least?

Comment by Peter Verthez [ 15/Oct/18 ]

Yes, this device has some YANG 1.1 models, so it exposes the modules-state of the yang library.

Comment by Robert Varga [ 15/Oct/18 ]

Unfortunately this is the best we can do with the current state of NETMOD affairs. This is a gap, as there is no way to mark an extension as contributing to schema node identifier namespace, which unfortunately renders anything in the tailf:action ineligible for being targeted by augment/deviate. The state is simply not discernible from an attempt to target a (for example) typedef with a deviation.

The correct solution would see NETMOD define some sort of extension statement with which the likes of tailf:action would be tagged, so that parsers not knowing tailf:action semantics would still understand that is contributing to schema node identifier namespace and hence something that is a valid augment/deviate target – then our handling would not fail on the deviate statement, but would produce ... something hopefully workable

Generated at Wed Feb 07 20:53:08 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.