diff options
author | Lance Richardson <lrichard@redhat.com> | 2017-01-03 16:47:48 -0500 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-01-04 09:58:23 -0800 |
commit | 9c39b120fca4e08e8ae09bf1d2c59f0d7a0d3598 (patch) | |
tree | 43dad26c556f90b4eebf1fdb963d610826cee8ff /ovn | |
parent | 84aa6cd368b45f84821165c9af268d3fcd38875a (diff) | |
download | openvswitch-9c39b120fca4e08e8ae09bf1d2c59f0d7a0d3598.tar.gz |
ovn-sbctl: enable listing dhcp options tables
Enable operations (including "list") on DHCP_Options and DHCPv6_Options
tables via ovn-sbctl. These are currently the only OVN_Southbound
tables that ovn-sbctl does not support.
Example:
$ ovn-sbctl -f table list DHCPv6_Options
_uuid code name type
------------------------------------ ---- ------------- ------
8646bb15-5e88-4432-a21a-4e22a2976482 23 dns_server "ipv6"
564e98e9-ee23-447b-a7c5-c36ca05059fa 24 domain_search str
8c6cb059-5bb5-4ef8-960b-f002c769589e 2 server_id mac
525e8fc6-7921-48eb-8bd3-fe5cb5dd0142 5 ia_addr "ipv6"
Signed-off-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovn')
-rw-r--r-- | ovn/utilities/ovn-sbctl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ovn/utilities/ovn-sbctl.c b/ovn/utilities/ovn-sbctl.c index 9e3016b65..d3db32f5f 100644 --- a/ovn/utilities/ovn-sbctl.c +++ b/ovn/utilities/ovn-sbctl.c @@ -1074,6 +1074,14 @@ static const struct ctl_table_class tables[] = { {{&sbrec_table_address_set, &sbrec_address_set_col_name, NULL}, {NULL, NULL, NULL}}}, + {&sbrec_table_dhcp_options, + {{&sbrec_table_dhcp_options, NULL, NULL}, + {NULL, NULL, NULL}}}, + + {&sbrec_table_dhcpv6_options, + {{&sbrec_table_dhcpv6_options, NULL, NULL}, + {NULL, NULL, NULL}}}, + {&sbrec_table_connection, {{&sbrec_table_connection, NULL, NULL}, {NULL, NULL, NULL}}}, |