added sample inputs

This commit is contained in:
Thomas von Dein
2017-04-05 23:30:12 +02:00
parent 1e88ebd049
commit c82afe44ea
7 changed files with 536 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<cops>
<officer randall>
name stein
age 25
</officer>
<officer gordon>
name bird
age 31
</officer>
</cops>
domain nix.to
domain b0fh.org
domain foo.bar
message <<EOF
yes. we are not here. you
can reach us somewhere in
outerspace.
EOF
nocomment <<EOF
Comments in a here-doc should not be treated as comments.
/* So this should appear in the output */
EOF
command = ssh -f -g orpheus.0x49.org \
-l azrael -L:34777samir.okir.da.ru:22 \
-L:31773:shane.sol1.rocket.de:22 \
'exec sleep 99999990'
user = tom
passwd = sakkra
<db>
host = blah.blubber
</db>
<beta>
user1 hans
</beta>
<beta>
user2 max
</beta>
quoted = "this one contains whitespace at the end "
quotedwithquotes = " holy crap, it contains \"masked quotes\" and 'single quotes' "

View File

@@ -0,0 +1 @@
policyID,statecode,county,eq_site_limit,hu_site_limit,fl_site_limit,fr_site_limit,tiv_2011,tiv_2012,eq_site_deductible,hu_site_deductible,fl_site_deductible,fr_site_deductible,point_latitude,point_longitude,line,construction,point_granularity
1 policyID statecode county eq_site_limit hu_site_limit fl_site_limit fr_site_limit tiv_2011 tiv_2012 eq_site_deductible hu_site_deductible fl_site_deductible fr_site_deductible point_latitude point_longitude line construction point_granularity 119736 FL CLAY COUNTY 498960 498960 498960 498960 498960 792148.9 0 9979.2 0 0 30.102261 -81.711777 Residential Masonry 1 448094 FL CLAY COUNTY 1322376.3 1322376.3 1322376.3 1322376.3 1322376.3 1438163.57 0 0 0 0 30.063936 -81.707664 Residential Masonry 3 206893 FL CLAY COUNTY 190724.4 190724.4 190724.4 190724.4 190724.4 192476.78 0 0 0 0 30.089579 -81.700455 Residential Wood 1 333743 FL CLAY COUNTY 0 79520.76 0 0 79520.76 86854.48 0 0 0 0 30.063236 -81.707703 Residential Wood 3 172534 FL CLAY COUNTY 0 254281.5 0 254281.5 254281.5 246144.49 0 0 0 0 30.060614 -81.702675 Residential Wood 1 785275 FL CLAY COUNTY 0 515035.62 0 0 515035.62 884419.17 0 0 0 0 30.063236 -81.707703 Residential Masonry 3 995932 FL CLAY COUNTY 0 19260000 0 0 19260000 20610000 0 0 0 0 30.102226 -81.713882 Commercial Reinforced Concrete 1 223488 FL CLAY COUNTY 328500 328500 328500 328500 328500 348374.25 0 16425 0 0 30.102217 -81.707146 Residential Wood 1 433512 FL CLAY COUNTY 315000 315000 315000 315000 315000 265821.57 0 15750 0 0 30.118774 -81.704613 Residential Wood 1 142071 FL CLAY COUNTY 705600 705600 705600 705600 705600 1010842.56 14112 35280 0 0 30.100628 -81.703751 Residential Masonry 1 253816 FL CLAY COUNTY 831498.3 831498.3 831498.3 831498.3 831498.3 1117791.48 0 0 0 0 30.10216 -81.719444 Residential Masonry 1 894922 FL CLAY COUNTY 0 24059.09 0 0 24059.09 33952.19 0 0 0 0 30.095957 -81.695099 Residential Wood 1 422834 FL CLAY COUNTY 0 48115.94 0 0 48115.94 66755.39 0 0 0 0 30.100073 -81.739822 Residential Wood 1 582721 FL CLAY COUNTY 0 28869.12 0 0 28869.12 42826.99 0 0 0 0 30.09248 -81.725167 Residential Wood 1 842700 FL CLAY COUNTY 0 56135.64 0 0 56135.64 50656.8 0 0 0 0 30.101356 -81.726248 Residential Wood 1 874333 FL CLAY COUNTY 0 48115.94 0 0 48115.94 67905.07 0 0 0 0 30.113743 -81.727463 Residential Wood 1 580146 FL CLAY COUNTY 0 48115.94 0 0 48115.94 66938.9 0 0 0 0 30.121655 -81.732391 Residential Wood 3 456149 FL CLAY COUNTY 0 80192.49 0 0 80192.49 86421.04 0 0 0 0 30.109537 -81.741661 Residential Wood 1 767862 FL CLAY COUNTY 0 48115.94 0 0 48115.94 73798.5 0 0 0 0 30.11824 -81.745335 Residential Wood 3 353022 FL CLAY COUNTY 0 60946.79 0 0 60946.79 62467.29 0 0 0 0 30.065799 -81.717416 Residential Wood 1 367814 FL CLAY COUNTY 0 28869.12 0 0 28869.12 42727.74 0 0 0 0 30.082993 -81.710581 Residential Wood 1 671392 FL CLAY COUNTY 0 13410000 0 0 13410000 11700000 0 0 0 0 30.091921 -81.711929 Commercial Reinforced Concrete 3 772887 FL CLAY COUNTY 0 1669113.93 0 0 1669113.93 2099127.76 0 0 0 0 30.117352 -81.711884 Residential Masonry 1 983122 FL CLAY COUNTY 0 179562.23 0 0 179562.23 211372.57 0 0 0 0 30.095783 -81.713181 Residential Wood 3 934215 FL CLAY COUNTY 0 177744.16 0 0 177744.16 157171.16 0 0 0 0 30.110518 -81.727478 Residential Wood 1

263
sample/formats/sample.ini Normal file
View File

@@ -0,0 +1,263 @@
[Settings]
;======================================================================
; Set detailed log for additional debugging info
DetailedLog=1
RunStatus=1
StatusPort=6090
StatusRefresh=10
Archive=1
; Sets the location of the MV_FTP log file
LogFile=/opt/ecs/mvuser/MV_IPTel/log/MV_IPTel.log
;======================================================================
Version=0.9 Build 4 Created July 11 2004 14:00
ServerName=Unknown
[FTP]
;======================================================================
; set the FTP server active
RunFTP=1
; defines the FTP control port
FTPPort=21
; defines the FTP data port
FTPDataPort=20
FTPDir=/opt/ecs/mvuser/MV_IPTel/data/FTPdata
; FTP Timeout (secs)
FTP_TimeOut=5
; Enable SuperUser
EnableSU=1
; set the SuperUser Name
SUUserName=mvuser
; set the SuperUser Password
SUPassword=Avaya
;
;======================================================================
[FTPS]
;======================================================================
; set the FTPS server active
RunFTPS=0
; defines the FTP control port
FTPPort=990
; defines the FTP data port
FTPDataPort=889
;======================================================================
[TFTP]
;======================================================================
; set the Trivial FTP server active
RunTrivialFTP=1
; defines the Trivial FTP port
TrivialFTPPort=69
TFTPDir=/opt/ecs/mvuser/MV_IPTel/data/TFTPdata
;======================================================================
[HTTP]
;======================================================================
; set the HTTP download server active
RunHTTP=1
; defines the HTTP download port
HTTPPort=81
; Sets the location of the HTTP data directory for downloads
HTTPDir=/opt/ecs/mvuser/MV_IPTel/data/HTTPdata
;======================================================================
[HTTPS]
;======================================================================
; set the HTTPS download server active
RunHTTPS=0
; defines the HTTPS download port
HTTPSPort=411
; Sets the location of the HTTPS data directory for downloads
HTTPSDir=/opt/ecs/mvuser/MV_IPTel/data/HTTPSdata
; Sets the location of the CertFile
CertFile=/opt/ecs/mvuser/MV_IPTel/certs/IPTelcert.pem
; Sets the location of the KeyFile
KeyFile=/opt/ecs/mvuser/MV_IPTel/certs/IPTelkey.pem
; Use Client Authorization
ClientAuth=0
; narrow config for Avaya IPTel (TLSV1 using RSA_NULL_SHA)
IPTel=0
; sets the SSL variants if not Avaya IPtel (IPTel=0)
SSLV2=0
SSLV3=0
TLSV1=1
UseProxy=0
ProxyAddr=simon.avaya.com
ProxyPort=9000
;======================================================================
[BACKUP_SERVERS]
;======================================================================
FileServer=0
RequestUpdates=0
RequestBackup=0
; Enable use of the Primary file server
UsePrimarySvr=0
; Primary file server IP address ( or resolvable DNS)
PrimaryIP=192.168.0.13
; Enable use of the Secondary file server
UseSecondarySvr=0
; Secondary file server IP address ( or resolvable DNS)
SecondaryIP=192.168.0.10
; Sets the update interval for Backups & updates ; 1 = min; 2
UpdateInterval=2
;Send FTP backup to the customer sever
CustomFTP=1
; FTP backup directory customer sever
CustomFTPDir=home/mvuser/backup
; FTP backup directory user login name
CustomFTPUName=tom
; FTP backup directory user password
CustomFTPPwd=jerry
; Enable CDR Backup - enable=1 on both File Server & Client
CDRBackup=0
; Enable BCMS Backup - enable=1 on both File Server & Client
BCMSBackup=0
; Retain CDR / BCMS copy data for x days ( Receiver always + 1
RetainDays=7.0
;======================================================================
[SNMP]
;================================================================
;
; Validate FTP store with SNMP check
UseSNMP=1
; In case the SNMPGET syntax changes you can redefine the commands
; Uncomment the relevant line to override the internal command
;the syntax is "Command + IPADDR + ExtObj + Awk
; the IPADRR is derived from the connection
; Note there are relavant spaces at the start/end of the component
;Command=/usr/bin/snmpget
;Params= -v2c -cpublic
;ExtObject=.1.3.6.1.4.1.6889.2.69.1.4.9.0
;TypeObject=.1.3.6.1.4.1.6889.2.69.1.1.2.0
;Awk=| awk -F \" '' {print $2 } ''
;================================================================

View File

@@ -0,0 +1,49 @@
{
"abstract" : "Inspect and manipulate perl data structures interactively",
"author" : [
"Thomas v.Dein <tlinden@cpan.org>"
],
"dynamic_config" : 0,
"generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150005",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
},
"name" : "Data-Interactive-Inspect",
"no_index" : {
"directory" : [
"t",
"inc"
]
},
"prereqs" : {
"build" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"File::Temp" : "0",
"Term::ReadLine" : "0",
"YAML" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
"repository" : {
"url" : "https://github.com/TLINDEN/Data-Interactive-Inspect"
}
},
"version" : 0.06,
"x_serialization_backend" : "JSON::PP version 2.27300"
}

View File

@@ -0,0 +1,29 @@
$VAR1 = {
'food' => {
'Berry-Berry Belgian Waffles' => {
'price' => '$8.95',
'calories' => '900',
'description' => 'Light Belgian waffles covered with an assortment of fresh berries and whipped cream'
},
'Homestyle Breakfast' => {
'price' => '$6.95',
'calories' => '950',
'description' => 'Two eggs, bacon or sausage, toast, and our ever-popular hash browns'
},
'Belgian Waffles' => {
'calories' => '650',
'price' => '$5.95',
'description' => 'Two of our famous Belgian Waffles with plenty of real maple syrup'
},
'French Toast' => {
'price' => '$4.50',
'calories' => '600',
'description' => 'Thick slices made from our homemade sourdough bread'
},
'Strawberry Belgian Waffles' => {
'price' => '$7.95',
'calories' => '900',
'description' => 'Light Belgian waffles covered with strawberries and whipped cream'
}
}
};

33
sample/formats/sample.xml Normal file
View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<breakfast_menu>
<food>
<name>Belgian Waffles</name>
<price>$5.95</price>
<description>Two of our famous Belgian Waffles with plenty of real maple syrup</description>
<calories>650</calories>
</food>
<food>
<name>Strawberry Belgian Waffles</name>
<price>$7.95</price>
<description>Light Belgian waffles covered with strawberries and whipped cream</description>
<calories>900</calories>
</food>
<food>
<name>Berry-Berry Belgian Waffles</name>
<price>$8.95</price>
<description>Light Belgian waffles covered with an assortment of fresh berries and whipped cream</description>
<calories>900</calories>
</food>
<food>
<name>French Toast</name>
<price>$4.50</price>
<description>Thick slices made from our homemade sourdough bread</description>
<calories>600</calories>
</food>
<food>
<name>Homestyle Breakfast</name>
<price>$6.95</price>
<description>Two eggs, bacon or sausage, toast, and our ever-popular hash browns</description>
<calories>950</calories>
</food>
</breakfast_menu>

116
sample/formats/sample.yml Normal file
View File

@@ -0,0 +1,116 @@
---
cloud:
# Cloud Name: The cloud name must not contain spaces or special
# characters. The name is used for the OpenStack region name. The
# default value for the ICOS Hybrid cloud is RegionTwo.
name: RegionTwo
# Cloud Description
description: ICOS Hybrid - Controller + N Compute Topology - x86 KVM
# Cloud Administrator (admin) User's Password. For the ICOS Hybrid
# cloud, the cloud administrator user's password is contained in the
# password JSON file. It can be overridden here if needed.
password: ~
# Cloud Password JSON File. This is required for the ICOS Hybrid cloud.
# Copy the example password file for the ICOS Hybrid cloud located in
# the ICM chef-repo to the deployment folder, rename it, and set the
# password values in the file for the on premise admin user and services
# required for the ICOS Hybrid cloud. Enter the fully qualified path and
# file name of that password file here.
password_file: YOUR_PASSWORD_FILE
# Cloud Database Service Type: db2, mariadb or mysql
database_service_type: db2
# Cloud Messaging Service Type: rabbitmq or qpid
messaging_service_type: rabbitmq
# (Optional) Cloud SSL certificate chain file. This is not required.
# If not specified, the cacert_file will be created automatically,
# and placed on the Chef server. Only specify this value if you are
# providing your own cloud SSL certificate chain file, and controller
# SSL certificate and private key files for FIPS compliance. If specified,
# it must include all certificate chains required in the hybrid environment
# including any needed in the off-premise region.
# cacert_file: YOUR_CLOUD_CACERT_FILE_LOCATION
# Cloud Features: The cloud features to be enabled or disabled. The
# icos_hybrid_cloud, and fips_compliance features are enabled, by default. The
# self_service_portal feature must be disabled for the ICOS Hybrid cloud.
features:
self_service_portal: disabled
platform_resource_scheduler: enabled
icos_hybrid_cloud: enabled
fips_compliance: enabled
# Cloud Topology: References the node name(s) for each role
# within the cloud's topology. A self_service_portal_node_name
# should not be specified for the ICOS Hybrid cloud.
topology:
database_node_name: controller
controller_node_name: controller
self_service_portal_node_name: ~
kvm_compute_node_names: kvm_compute
# ================================================================
# Environment Information
# ================================================================
environment:
base: example-ibm-os-single-controller-n-compute
default_attributes:
# (Optional) Add Default Environment Attributes
override_attributes:
# (Optional) Add Override Environment Attributes
ntp.servers: [0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org, 3.pool.ntp.org]
# ================================================================
# Hybrid Cloud Information.
# ================================================================
hybrid:
# The Keystone Identity service endpoint host. Enter either the host FQDN or
# it's IP address. This value is not validated. Please ensure it is correct.
# The value is defaulted to 192.168.101.10 for the ICOS Hybrid cloud.
keystone_endpoint_host: 192.168.101.10
# The Identity service admin tenant name. The value is defaulted to
# on-prem-admin for the ICOS Hybrid cloud.
admin_tenant_name: on-prem-admin
# The Identity service admin user name. The value is defaulted to
# admin-on-prem for the ICOS Hybrid cloud.
admin_user: admin-on-prem
# The SSL certificate chain file for the ICOS region. Enter the local
# location on the Chef server of the ICOS SSL certificate chain file as a
# fully qualified path and file name. This value is required unless both the
# on-premise region, and the ICOS system have trusted, commercially signed
# SSL certificates. This value is ignored if the optional cacert_file value
# is specified.
off_prem_certificate_chain_file: YOUR_OFF_PREM_CERTIFICATE_CHAIN_FILE_LOCAL_LOCATION
# ================================================================
# Node Information
# ================================================================
nodes:
- name: controller
description: Cloud controller node
fqdn: YOUR_CONTROLLER_NODE_FQDN
password: ~
identity_file: ~
nics:
management_network: eth0
data_network: eth1
# (Optional) Node Attribute JSON File
attribute_file: ~
# (Optional) Controller SSL certificate and private key files.
# These values are not required. If not specified, the cert_file and
# key_file will be created automatically, and placed on the Chef
# server. Only specify these values if you are providing your own cloud
# SSL certificate chain file, and controller SSL certificate and
# private key files for FIPS compliance.
# cert_file: YOUR_CONTROLLER_CERTIFICATE_FILE_LOCATION
# key_file: YOUR_CONTROLLER_PRIVATE_KEY_FILE_LOCATION
- name: kvm_compute
description: Cloud KVM compute node
fqdn: YOUR_KVM_COMPUTE_NODE_FQDN
password: ~
identity_file: ~
nics:
management_network: eth0
data_network: eth1
# (Optional) Node Attribute JSON File
attribute_file: ~
# Copy the kvm_compute node section above for additional
# KVM compute nodes in your cloud.