]>
Commit | Line | Data |
---|---|---|
bac8c385 DM |
1 | #!/usr/bin/perl |
2 | ||
3 | use lib '.'; | |
4 | use strict; | |
5 | use warnings; | |
f004f5b9 | 6 | use PVE::JSONSchema; |
bac8c385 DM |
7 | use PVE::RESTHandler; |
8 | use PVE::LXC::Config; | |
9 | ||
10 | my $prop = PVE::LXC::Config->json_config_properties(); | |
11 | ||
12 | my $phash = $prop->{net0}; | |
13 | ||
14 | my $format = $phash->{format}; | |
15 | ||
f004f5b9 | 16 | my $typetext = PVE::JSONSchema::schema_get_type_text($phash); |
bac8c385 | 17 | |
bc132ec5 DM |
18 | print "`net[n]`: `$typetext` ::\n\n"; |
19 | print $phash->{description} . "\n\n"; | |
bac8c385 | 20 | |
bc132ec5 | 21 | print PVE::RESTHandler::dump_properties($format, 'asciidoc', 'config-sub'); |