As described in this post and this note, it is possible to model nested tables in SNMP with the following structure:
parentTable ... ::= { parentNode 1 } -- using index x
childTable ... ::= { parentNode 2 } -- using index x and y
That is the parent and child tables are registered under the same node (i.e. at the same level), which is something I want to avoid (mainly because it waists one OID on this node which is problematic in the application I'm dealing with).
My question is: is it possible to do exactly the same, the only difference being that I register the child table in a sub-node of parentNode? It would look like something like:
subNode OBJECT IDENTIFIER ::= { parentNode 512 }
parentTable ... ::= { parentNode 1 } -- using index x
childTable ... ::= { subNode 1 } -- using index x and y
And if this syntax is valid, would it have the same properties as the first version (a deletion of a raw in parentNode would also delete the corresponding raw in childNode)?