mirror of
https://codeberg.org/scip/Data-Interactive-Inspect.git
synced 2025-12-16 20:21:02 +01:00
added sample inputs
This commit is contained in:
45
sample/formats/sample.conf
Normal file
45
sample/formats/sample.conf
Normal 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' "
|
||||
|
||||
|
||||
1
sample/formats/sample.csv
Normal file
1
sample/formats/sample.csv
Normal 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
|
||||
|
263
sample/formats/sample.ini
Normal file
263
sample/formats/sample.ini
Normal 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 } ''
|
||||
|
||||
;================================================================
|
||||
|
||||
49
sample/formats/sample.json
Normal file
49
sample/formats/sample.json
Normal 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"
|
||||
}
|
||||
29
sample/formats/sample.perl
Normal file
29
sample/formats/sample.perl
Normal 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
33
sample/formats/sample.xml
Normal 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
116
sample/formats/sample.yml
Normal 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.
|
||||
Reference in New Issue
Block a user