mirror of
https://github.com/google/nomulus.git
synced 2025-08-04 00:42:12 +02:00
Add registry_tool host_create command
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130953679
This commit is contained in:
parent
91f8b6da38
commit
965cf6edc3
6 changed files with 204 additions and 0 deletions
13
javatests/google/registry/tools/testdata/host_create_complete.xml
vendored
Normal file
13
javatests/google/registry/tools/testdata/host_create_complete.xml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
||||
<command>
|
||||
<create>
|
||||
<host:create xmlns:host="urn:ietf:params:xml:ns:host-1.0">
|
||||
<host:name>example.tld</host:name>
|
||||
<host:addr ip="v4">162.100.102.99</host:addr>
|
||||
<host:addr ip="v4">4.5.6.7</host:addr>
|
||||
<host:addr ip="v6">2001:0db8:85a3:0000:0000:8a2e:0370:7334</host:addr>
|
||||
</host:create>
|
||||
</create>
|
||||
<clTRID>GTechTool</clTRID>
|
||||
</command>
|
||||
</epp>
|
10
javatests/google/registry/tools/testdata/host_create_minimal.xml
vendored
Normal file
10
javatests/google/registry/tools/testdata/host_create_minimal.xml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
||||
<command>
|
||||
<create>
|
||||
<host:create xmlns:host="urn:ietf:params:xml:ns:host-1.0">
|
||||
<host:name>notours.external</host:name>
|
||||
</host:create>
|
||||
</create>
|
||||
<clTRID>GTechTool</clTRID>
|
||||
</command>
|
||||
</epp>
|
Loading…
Add table
Add a link
Reference in a new issue