Project

General

Profile

csInfo #4041

Updated by Redmine Admin 7 days ago

{{kroki(nwdiag)  
 nwdiag { 
   network dmz { 
     address = "210.x.x.x/24" 

     web01 [address = "210.x.x.1"]; 
     web02 [address = "210.x.x.2"]; 
   } 
   network internal { 
     address = "172.x.x.x/24"; 

     web01 [address = "172.x.x.1"]; 
     web02 [address = "172.x.x.2"]; 
     db01; 
     db02; 
   } 
 } 
 }} 

 The diagram above is shown by just simply put sample diagram code copied from [kroki.io](https://kroki.io) inside a macro. 
 The macro language is described in [redmine-kroki](https://github.com/JeffDess/redmine-kroki) plugin page. 

 This is the exact code: 
 ``` 

 {{kroki(nwdiag) 
 nwdiag { 
   network dmz { 
     address = "210.x.x.x/24" 

     web01 [address = "210.x.x.1"]; 
     web02 [address = "210.x.x.2"]; 
   } 
   network internal { 
     address = "172.x.x.x/24"; 

     web01 [address = "172.x.x.1"]; 
     web02 [address = "172.x.x.2"]; 
     db01; 
     db02; 
   } 
 } 
 }} 
 ```

Back