[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Proposal to do away with netconf attributes in data model pay loads



At 12:39 PM 3/31/2004, Glenn Waters wrote:

>Andy says: 
>
>> I guess we're going to be choosing the lesser of two evils. 
>> 
>> Now you've slid completely down the slope such that full 
>> XPath support would be required for every netconf agent 
>> implementation, and we have to fully specify the naming 
>> scheme of the TBD data modeling language before we can 
>> finish the protocol. 
>
>I don't think that supporting XPath requires us to specify any of the naming scheme. At least I can't think of a reason why that that would be true. Can you explain why you think the naming is tied to XPath.

I'd still like to see some Xpath expressions
for a 2 level array first.  At least to see
how naming impacts the complexity of the Xpath
expressions.


>> I would rather have option (D) -- leave the operation 
>> attribute in the spec -- than go this route.   From 
>> an implementation POV, having the operation attribute within 
>> the element whose callback function needs to know the 
>> operation is easy to implement on the agent.  It may 
>> be easier on the application than Xpath as well. 
>
>I don't understand why XPath is viewed as so difficult to implement. We must specify some path and filtering technology as part of the NetConf protocol. XPath is already defined. Let's just use it (and maybe specify a subset of XPath if some parts of it give us real heartburn).

IMO, it's overkill for what an agent on a small network
device needs.  It should be a capability, if and when it's used
in NETCONF.   This solution would be worse than the problem
it's supposed to solve.   

Andy



>  
>> For a real world example, it would be nice if someone 
>> wants to model a simple chassis -- a container with N 
>> slots. Each slot has a 'ports' container with M physical ports, 
>> where M can be different for each value of N. 
>> The homework assignment is to show the assumed data model 
>> and Xpath expression for selecting the start-point 
>> of an edit operation. (E.g., set the duplex-mode on 
>> slot 3, port 7.) 
>
>I think that's a great idea. I have been thinking about a simple model we can use as an example. I will try to get something to the list in the next couple of days.
>
>> Andy 
>
>Regards, /gww 


--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>