Details
-
Bug
-
Status: Resolved
-
Resolution: Won't Do
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
1319
-
Lowest
Description
I might be doing something wrong but the CLI should not fail like this:
/localhost>edit-config(ietf-netconf)
Submit child nodes for container: input, [default-operation, edit-content, error-option, target, test-option]
Config config
Submit path of the data to edit. Use TAB for autocomplete
/localhost/edit-config/input/edit-content/config>modules(config)/module(config)/
Reading collection type argument: module
Submit child nodes for list entry: module, [configuration, name, state, type]
Reading keys:
Submit Leaf name(string)
/localhost/edit-config/input/edit-content/config/module/[entry]/name>testing-threadpool
Reading mandatory not keys nodes:
Submit Leaf type(identityref)
/localhost/edit-config/input/edit-content/config/module/[entry]/type>thread
threadfactory-naming(threadpool-impl) threadpool-fixed(threadpool-impl-fixed) threadpool-flexible(threadpool-impl-flexible)
threadpool-scheduled(threadpool-impl-scheduled)
/localhost/edit-config/input/edit-content/config/module/[entry]/type>threadpool-
threadpool-fixed(threadpool-impl-fixed) threadpool-flexible(threadpool-impl-flexible) threadpool-scheduled(threadpool-impl-scheduled)
/localhost/edit-config/input/edit-content/config/module/[entry]/type>threadpool-fixed(threadpool-impl-fixed)
Select case for choice configuration from:
async-eventbus
binding-broker-impl
binding-data-broker
binding-data-compatible-broker
binding-forwarded-data-broker
dom-broker-impl
dom-inmemory-data-broker
eventbus
inmemory-config-datastore-provider
inmemory-operational-datastore-provider
kitchen-service-impl
logback
netconf-client-dispatcher
netty-global-event-executor
netty-hashed-wheel-timer
netty-immediate-event-executor
netty-threadgroup-fixed
never-reconnect-strategy-factory
reconnect-immediately-strategy-factory
sal-netconf-connector
shutdown
threadfactory-naming
threadpool-fixed
threadpool-flexible
threadpool-scheduled
timed-reconnect-strategy-factory
toaster-provider-impl
/localhost/edit-config/input/edit-content/config/module/[entry]/configuration>threadpool-fixed
Submit Leaf max-thread-count(uint16)
/localhost/edit-config/input/edit-content/config/module/[entry]/configuration/max-thread-count>100
Submit child nodes for container: threadFactory, [name, type]
Submit Leaf name(leafref)
/localhost/edit-config/input/edit-content/config/module/[entry]/configuration/threadFactory/name>global-netconf-processing-executor-threadfactory
Submit Leaf type(service-type-ref)
/localhost/edit-config/input/edit-content/config/module/[entry]/configuration/threadFactory/type>threadfactory
Add other entry to List module [Y|N]?
/localhost/edit-config/input/edit-content/config/module>n
Collection type argument: module read finished
Submit Leaf default-operation(enumeration)
/localhost/edit-config/input/default-operation>commit
It wasn't possible deserialize value commit.
Submit Leaf default-operation(enumeration)
/localhost/edit-config/input/default-operation>
skip merge none replace merge
/localhost/edit-config/input/default-operation>merge
merge
/localhost/edit-config/input/default-operation>merge
Submit Leaf error-option(enumeration)
/localhost/edit-config/input/error-option>
skip continue-on-error rollback-on-error stop-on-error stop-on-error
/localhost/edit-config/input/error-option>rollback-on-error
Submit child nodes for container: target, [config-target]
Select case for choice config-target from:
candidate
running
/localhost/edit-config/input/target/config-target>candidate
Submit Leaf test-option(enumeration)
/localhost/edit-config/input/test-option>
skip set test-only test-then-set test-then-set
/localhost/edit-config/input/test-option>test-then-set
test-then-set
/localhost/edit-config/input/test-option>test-then-set
Unexpected CLI runtime exception
java.lang.NullPointerException
at org.opendaylight.controller.netconf.cli.writer.impl.CompositeNodeWriter.writeNode(CompositeNodeWriter.java:39)
at org.opendaylight.controller.netconf.cli.writer.impl.CompositeNodeWriter.writeInner(CompositeNodeWriter.java:32)
at org.opendaylight.controller.netconf.cli.writer.impl.AbstractWriter.write(AbstractWriter.java:29)
at org.opendaylight.controller.netconf.cli.Cli.handleEmptyOutput(Cli.java:135)
at org.opendaylight.controller.netconf.cli.Cli.handleOutput(Cli.java:97)
at org.opendaylight.controller.netconf.cli.Cli.run(Cli.java:77)
at org.opendaylight.controller.netconf.cli.Main.main(Main.java:80)
(process exits with exit status 0)
Another observation is that there is no autocomplete for type of threadfactory. In both asking for name and type the only suggested thing is 'skip'.
Another thing: there are too many options when just wanting to modify /modules/module - and no default options.