diff --git a/docs/schemas/network.rng b/docs/schemas/network.rng index ab183f156990dae6611e2bca5ada1ac9af7796c7..d7edb09fc498c5a88ef7171eb87a0ac7889ce384 100644 --- a/docs/schemas/network.rng +++ b/docs/schemas/network.rng @@ -160,6 +160,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/schemas/networkcommon.rng b/docs/schemas/networkcommon.rng index e60f1fc99d84eb5c0457efe8867660f03bb529e2..e26b7f30b9852392ab288c16313c877e52b29f33 100644 --- a/docs/schemas/networkcommon.rng +++ b/docs/schemas/networkcommon.rng @@ -217,4 +217,11 @@ + + + + 1 + 65535 + + diff --git a/tests/networkxml2xmlin/nat-network-forward-nat-address.xml b/tests/networkxml2xmlin/nat-network-forward-nat-address.xml new file mode 100644 index 0000000000000000000000000000000000000000..403d058330ea57a560ea6e85c6aa42dab51f54b9 --- /dev/null +++ b/tests/networkxml2xmlin/nat-network-forward-nat-address.xml @@ -0,0 +1,26 @@ + + default + 81ff0d90-c91e-6742-64da-4a736edb9a9b + + + +
+ + + + + + + + + + + + + + + + + + + diff --git a/tests/networkxml2xmlout/nat-network-forward-nat-address.xml b/tests/networkxml2xmlout/nat-network-forward-nat-address.xml new file mode 100644 index 0000000000000000000000000000000000000000..faeba24706610d4509af067553ac7db6b5cf138f --- /dev/null +++ b/tests/networkxml2xmlout/nat-network-forward-nat-address.xml @@ -0,0 +1,27 @@ + + default + 81ff0d90-c91e-6742-64da-4a736edb9a9b + + +
+ + + + + + + + + + + + + + + + + + + + + diff --git a/tests/networkxml2xmltest.c b/tests/networkxml2xmltest.c index 675a86246532c88a8b02427f0deb2612e2d69a19..d04039d6340b45fbc7ac05e0ef56ac69d1166597 100644 --- a/tests/networkxml2xmltest.c +++ b/tests/networkxml2xmltest.c @@ -108,6 +108,7 @@ mymain(void) DO_TEST("nat-network-dns-srv-record-minimal"); DO_TEST("nat-network-dns-hosts"); DO_TEST("nat-network-dns-forward-plain"); + DO_TEST("nat-network-forward-nat-address"); DO_TEST("8021Qbh-net"); DO_TEST("direct-net"); DO_TEST("host-bridge-net");