You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
454B

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