]>
Commit | Line | Data |
---|---|---|
1 | #!/usr/bin/perl | |
2 | ||
3 | use lib '.'; | |
4 | use strict; | |
5 | use warnings; | |
6 | use PVE::JSONSchema; | |
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 | ||
16 | my $typetext = PVE::JSONSchema::schema_get_type_text($phash); | |
17 | ||
18 | print "`net[n]`: `$typetext` ::\n\n"; | |
19 | print $phash->{description} . "\n\n"; | |
20 | ||
21 | print PVE::RESTHandler::dump_properties($format, 'asciidoc', 'config-sub'); |