-
In CWM 1.2, we have introduced a new pre-built adapter: generic-db, which enables users to interact with PostgreSQL and MySQL databases.


-
Adapter XDK for NSO supports generating adapter activities representing NSO actions.
If an NSO YANG file includes any action definition, Adapter XDK for NSO can now automatically generate an activity for that action.
module cwm-example {
...
container custom-actions {
action count-devices {
tailf:actionpoint count-devices-action;
input {
leaf in-subnet {
type inet:ipv4-prefix;
}
}
output {
leaf result {
type uint16;
}
}
}
}
}
By using the commands shown in the following screenshot, the Proto file and the Go code for adapter will be generated.

