Last active
November 20, 2021 10:14
-
-
Save anithegregorian/dcf0413d2da0552b6a720d968f72b94e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CTAPI.defaultPropertiesJSON = {"vedge":[{"name":"property-select","key":"vcpu","label":"vcpu","value":2,"options":[{"text":1,"value":1},{"text":2,"value":2},{"text":3,"value":3},{"text":4,"value":4}]},{"name":"property-select","key":"memory","label":"memory","value":1024,"options":[{"text":512,"value":512},{"text":1024,"value":1024},{"text":2048,"value":2048},{"text":4096,"value":4096}]},{"name":"property-text","key":"image_src","label":"image_src","value":"https://147.75.97.143/viptela-17-2/sandbox/viptela_large2/vedge5.img"},{"name":"property-text","key":"image_dest","label":"image_dest","value":"/var/lib/libvirt/images/r1.img"},{"name":"property-parent-label","parentLabel":"vm_info"},{"name":"property-text","key":"type","label":"type","child_of":"vm_info.type","value":"viptelabatc"},{"name":"property-text","key":"hostname","label":"hostname","child_of":"vm_info.hostname","value":"vm10"},{"name":"property-text","key":"username","label":"username","child_of":"vm_info.username","value":"admin"},{"name":"property-text","key":"labname","label":"labname","child_of":"vm_info.labname","value":"viptela_traffic"},{"name":"property-checkbox","key":"rootca","label":"rootca","child_of":"vm_info.rootca","value":true},{"name":"property-parent-label","parentLabel":"commands"},{"name":"property-multi-text","rows":[{"key":"commands","label":"","child_of":"commands.0","squoted":true,"value":"sysctl -w net.ipv4.ip_forward=0"},{"key":"commands","label":"","child_of":"commands.1","squoted":true,"value":"sysctl -w net.ipv4.ip_forward=1"}]},{"name":"property-parent-label","parentLabel":"natrules"},{"name":"property-multi-text-select","rows":[[{"key":"ssh","label":"name","type":"select","parent_prefix":"natrules","child_of":"natrules.ssh","value":"ssh","options":[{"text":"ssh","value":"ssh"},{"text":"sftp","value":"sftp"},{"text":"rsync","value":"rsync"}]},{"key":"nat_port","label":"nat_port","type":"text","parent_prefix":"natrules.ssh","child_of":"natrules.ssh.nat_port","value":"22"},{"key":"host_port","label":"host_port","type":"text","parent_prefix":"natrules.ssh","child_of":"natrules.ssh.host_port","value":"220"}]]},{"name":"property-parent-label","parentLabel":"interfaces"},{"name":"property-multi-group-text","rows":[[{"key":"intname","label":"intname","parent_prefix":"interfaces.int1","child_of":"interfaces.int1.intname","value":"ge0/0"},{"key":"ipaddress","label":"ipaddress","parent_prefix":"interfaces.int1","child_of":"interfaces.int1.ipaddress","value":"10.2.54.2"},{"key":"netmask","label":"netmask","parent_prefix":"interfaces.int1","child_of":"interfaces.int1.netmask","value":"255.255.255.0"}],[{"key":"intname","label":"intname","parent_prefix":"interfaces.int2","child_of":"interfaces.int2.intname","value":"ge1/1"},{"key":"ipaddress","label":"ipaddress","parent_prefix":"interfaces.int2","child_of":"interfaces.int2.ipaddress","value":"10.23.54.22"},{"key":"netmask","label":"netmask","parent_prefix":"interfaces.int2","child_of":"interfaces.int2.netmask","value":"255.255.255.0"}]]},{"name":"property-parent-label","parentLabel":"bigtext"},{"name":"property-textarea","key":"bigtext","label":"bigtext","value":"Some big text goes in here :)"}],"vbond":[{"name":"property-select","key":"vcpu","label":"vcpu","value":3,"options":[{"text":1,"value":1},{"text":2,"value":2},{"text":3,"value":3},{"text":4,"value":4}]},{"name":"property-select","key":"memory","label":"memory","value":512,"options":[{"text":512,"value":512},{"text":1024,"value":1024},{"text":2048,"value":2048},{"text":4096,"value":4096}]},{"name":"property-text","key":"image_src","label":"image_src","value":"https://147.75.97.143/viptela-18-5/sandbox/viptela_large1/vedge2.img"},{"name":"property-text","key":"image_dest","label":"image_dest","value":"/var/lib/libvirt/images/r2.img"},{"name":"property-parent-label","parentLabel":"vm_info"},{"name":"property-text","key":"type","label":"type","child_of":"vm_info.type","value":"viptelabatc"},{"name":"property-text","key":"hostname","label":"hostname","child_of":"vm_info.hostname","value":"vm10"},{"name":"property-text","key":"username","label":"username","child_of":"vm_info.username","value":"admin"},{"name":"property-text","key":"labname","label":"labname","child_of":"vm_info.labname","value":"viptela_traffic"},{"name":"property-checkbox","key":"rootca","label":"rootca","child_of":"vm_info.rootca","value":true},{"name":"property-parent-label","parentLabel":"commands"},{"name":"property-multi-text","rows":[{"key":"commands.0","label":"","parent_prefix":"commands[]","child_of":"commands.0","value":"sysctl -w net.ipv4.ip_forward=2"},{"key":"commands.1","label":"","parent_prefix":"commands[]","child_of":"commands.1","value":"sysctl -w net.ipv4.ip_forward=3"},{"key":"commands.2","label":"","parent_prefix":"commands[]","child_of":"commands.2","value":"sysctl -w net.ipv4.ip_forward=4"}]},{"name":"property-parent-label","parentLabel":"natrules"},{"name":"property-multi-text-select","rows":[[{"key":"ssh","label":"name","type":"select","parent_prefix":"natrules","child_of":"natrules.ssh","value":"ssh","options":[{"text":"ssh","value":"ssh"},{"text":"sftp","value":"sftp"},{"text":"rsync","value":"rsync"}]},{"key":"nat_port","label":"nat_port","type":"text","parent_prefix":"natrules","child_of":"natrules.ssh.nat_port","value":"22"},{"key":"host_port","label":"host_port","type":"text","parent_prefix":"natrules","child_of":"natrules.ssh.host_port","value":"330"}]]},{"name":"property-parent-label","parentLabel":"interfaces"},{"name":"property-multi-group-text","rows":[[{"key":"intname","label":"intname","child_of":"interfaces.int1.intname","value":"ge4/4"},{"key":"ipaddress","label":"ipaddress","child_of":"interfaces.int1.ipaddress","value":"10.2.54.255"},{"key":"netmask","label":"netmask","child_of":"interfaces.int1.netmask","value":"255.255.255.0"}],[{"key":"intname","label":"intname","child_of":"interfaces.int2.intname","value":"ge5/5"},{"key":"ipaddress","label":"ipaddress","child_of":"interfaces.int2.ipaddress","value":"10.23.54.22"},{"key":"netmask","label":"netmask","child_of":"interfaces.int2.netmask","value":"255.255.255.0"}]]},{"name":"property-parent-label","parentLabel":"bigtext"},{"name":"property-textarea","key":"bigtext","label":"bigtext","value":"Some big text for vBond"}],"vmanage":[{"name":"property-select","key":"vcpu","label":"vcpu","value":1,"options":[{"text":1,"value":1},{"text":2,"value":2},{"text":3,"value":3},{"text":4,"value":4}]},{"name":"property-select","key":"memory","label":"memory","value":2048,"options":[{"text":512,"value":512},{"text":1024,"value":1024},{"text":2048,"value":2048},{"text":4096,"value":4096}]},{"name":"property-text","key":"image_src","label":"image_src","value":"https://147.75.97.143/viptela-12-5/sandbox/viptela_large2/vedge7.img"},{"name":"property-text","key":"image_dest","label":"image_dest","value":"/var/lib/libvirt/images/r8.img"},{"name":"property-parent-label","parentLabel":"vm_info"},{"name":"property-text","key":"type","label":"type","child_of":"vm_info.type","value":"viptelabatc"},{"name":"property-text","key":"hostname","label":"hostname","child_of":"vm_info.hostname","value":"vm10"},{"name":"property-text","key":"username","label":"username","child_of":"vm_info.username","value":"admin"},{"name":"property-text","key":"labname","label":"labname","child_of":"vm_info.labname","value":"viptela_traffic"},{"name":"property-checkbox","key":"rootca","label":"rootca","child_of":"vm_info.rootca","value":true},{"name":"property-parent-label","parentLabel":"commands"},{"name":"property-multi-text","rows":[{"key":"commands.0","label":"","child_of":"commands.0","value":"sysctl -w net.ipv4.ip_forward=8"},{"key":"commands.1","label":"","child_of":"commands.1","value":"sysctl -w net.ipv4.ip_forward=9"},{"key":"commands.1","label":"","child_of":"commands.1","value":"sysctl -w net.ipv4.ip_forward=10"}]},{"name":"property-parent-label","parentLabel":"natrules"},{"name":"property-multi-text-select","rows":[[{"key":"ssh","label":"name","type":"select","child_of":"natrules.ssh","value":"ssh","options":[{"text":"ssh","value":"ssh"},{"text":"sftp","value":"sftp"},{"text":"rsync","value":"rsync"}]},{"key":"nat_port","label":"nat_port","type":"text","child_of":"natrules.ssh.nat_port","value":"22"},{"key":"host_port","label":"host_port","type":"text","child_of":"natrules.ssh.host_port","value":"125"}]]},{"name":"property-parent-label","parentLabel":"interfaces"},{"name":"property-multi-group-text","rows":[[{"key":"intname","label":"intname","child_of":"interfaces.int1","value":"ge7/7"},{"key":"ipaddress","label":"ipaddress","child_of":"interfaces.int1","value":"10.24.54.2"},{"key":"netmask","label":"netmask","child_of":"interfaces.int1","value":"255.255.255.0"}],[{"key":"intname","label":"intname","child_of":"interfaces.int2","value":"ge9/9"},{"key":"ipaddress","label":"ipaddress","child_of":"interfaces.int2","value":"10.23.254.22"},{"key":"netmask","label":"netmask","child_of":"interfaces.int2","value":"255.255.255.0"}]]},{"name":"property-parent-label","parentLabel":"bigtext"},{"name":"property-textarea","key":"bigtext","label":"bigtext","value":"Some big text for vManage"}],"edge":[{"name":"property-select","key":"src_vm","label":"src_vm","value":"","options":[]},{"name":"property-select","key":"dest_vm","label":"dest_vm","value":"","options":[]}]}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment