4 * Copyright (c) 2015 David Ahern <dsahern@gmail.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #include "qemu/osdep.h"
18 #include "qapi/error.h"
19 #include "qapi/qapi-commands-rocker.h"
21 RockerSwitch
*qmp_query_rocker(const char *name
, Error
**errp
)
23 error_setg(errp
, "rocker %s not found", name
);
27 RockerPortList
*qmp_query_rocker_ports(const char *name
, Error
**errp
)
29 error_setg(errp
, "rocker %s not found", name
);
33 RockerOfDpaFlowList
*qmp_query_rocker_of_dpa_flows(const char *name
,
38 error_setg(errp
, "rocker %s not found", name
);
42 RockerOfDpaGroupList
*qmp_query_rocker_of_dpa_groups(const char *name
,
47 error_setg(errp
, "rocker %s not found", name
);