diff --git a/netconf/rpc.go b/netconf/rpc.go index 4eb3609..21098cb 100644 --- a/netconf/rpc.go +++ b/netconf/rpc.go @@ -78,3 +78,7 @@ func MethodUnlock(target string) RawMethod { func MethodGetConfig(source string) RawMethod { return RawMethod(fmt.Sprintf("<%s/>", source)) } + +func MethodRPC(command string) RawMethod { + return RawMethod(fmt.Sprintf("%s", command)) +}