04-08-2018 04:30 PM - edited 03-01-2019 04:08 AM
Guys,
I installed NSO V4.4.5 locally. I created a java based service skeleton called "vlan". after compiling and reloading, I couldn't see the service when trying to instantiate a service. below is what I am seeing:
admin@ncs# show packages package vlan
packages package vlan
package-version 1.0
description "Java-based vlan resource facing service"
ncs-min-version [ 4.4 ]
directory ./state/packages-in-use/1/vlan
component vlanRFS
callback java-class-name [ com.example.vlan.vlanRFS ]
oper-status up
admin@ncs# config
Entering configuration mode terminal
admin@ncs(config)# services ?
Possible completions:
check-sync Check if device configuration is according to the services
commit-dry-run DEPRECATED - use commit dry-run instead
customer-service Service that can be linked to customer
global-settings
logging Configure service logging
plan-notifications Configuration to send plan-state-change notifications for plan state transitions.
service List of resource facing services
admin@ncs(config)# services vl
^
% Invalid input detected at '^' marker.
admin@ncs(config)# services vlan vlan-1
----------------------------^
syntax error: element does not exist
admin@ncs(config)#
Appreciate your help.
Kerim
04-09-2018 01:10 AM
What does the service YANG model look like? Does it augment /ncs:services? Or is it simply placing the service YANG at the root?
04-09-2018 05:48 AM
Now, that is the right questions! problem solved. thanks Jan.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide