- 
                Notifications
    
You must be signed in to change notification settings  - Fork 36
 
dx_get_js_branches
        Marcin Przepiorowski edited this page Jan 10, 2019 
        ·
        1 revision
      
    dx_get_js_branches     [ -engine|d <delphix identifier> | -all ] [ -configfile file ]
                       [ -template_name template_name ]
                       [ -container_name container_name ]
                       [ -branch_name branch_name ]
                       [ -format csv|json ]
                       [ --help|? ]
                       [ -debug ]
Get the list of Jet Stream containers from Delphix Engine.
Delphix Engine selection - if not specified a default host(s) from dxtools.conf will be used.
- -engine|d Specify Delphix Engine name from dxtools.conf file
 - -all Display databases on all Delphix appliance
 - -configfile file Location of the configuration file. A config file search order is as follow:
 - configfile parameter
 - DXTOOLKIT_CONF variable
 - dxtools.conf from dxtoolkit location
 
- -template_name template_name If used without container_name this option will display branch for template_name If used with container_name this option will limit containers to specific template
 - -container_name container_name Display branches for particular container_name
 - -branch_name branch_name Display branches for particular branch_name
 
- -format Display output in csv or json format If not specified pretty formatting is used.
 - -help Print this screen
 - -debug Turn on debugging
 - -nohead Turn off header output
 
List all branches
dx_get_js_branches -d Landshark5
Appliance            Container name       Template name        Branch name
-------------------- -------------------- -------------------- --------------------
Landshark5           N/A                  testdx               master
Landshark5           N/A                  other                master
Landshark5           testcon              other                default
Landshark5           testcon              testdx               now
Landshark5           testcon              testdx               frombook
List branches for container name
dx_get_js_branches -d Landshark5 -container_name testcon
Appliance            Container name       Template name        Branch name
-------------------- -------------------- -------------------- --------------------
Landshark5           testcon              other                default
Landshark5           testcon              testdx               ala
Landshark5           testcon              testdx               frombook
Delphix