diff --git a/docs/images/billing.graphml b/docs/images/billing.graphml index 1830135f..f2b34fb3 100644 --- a/docs/images/billing.graphml +++ b/docs/images/billing.graphml @@ -15,7 +15,6 @@ - @@ -33,7 +32,6 @@ - @@ -51,13 +49,12 @@ - - + - sudo + sudo:root @@ -69,13 +66,12 @@ - - + - ssh:billing0 + docker:billing0 @@ -87,10 +83,9 @@ - - + run-nightly-billing.py @@ -104,8 +99,24 @@ + + + + + + + ssh:docker-a + + + + + + + + + + - @@ -115,8 +126,7 @@ - - + @@ -127,7 +137,6 @@ - @@ -138,6 +147,16 @@ + + + + + + + + + + diff --git a/docs/images/billing.png b/docs/images/billing.png index a5dbf10d..f919acc3 100644 Binary files a/docs/images/billing.png and b/docs/images/billing.png differ diff --git a/docs/index.rst b/docs/index.rst index 215dc4d0..a2c9c9c1 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -95,15 +95,20 @@ to your network topology**. hostname='jump-box.mycorp.com' ) - ssh_account = router.sudo( + docker_host = router.ssh( via=bastion_host, + hostname='docker-a.prod.mycorp.com' + ) + + sudo_account = router.sudo( + via=docker_host, username='user_with_magic_ssh_key', password='sudo password', ) - internal_box = router.ssh( - via=ssh_account, - hostname='billing0.internal.mycorp.com' + internal_box = router.docker( + via=sudo_account, + container='billing0', ) internal_box.call(os.system, './run-nightly-billing.py')