File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 3030 return err
3131 }
3232
33+ ingress , err := flags .GetBool ("ingress" )
34+ if err != nil {
35+ return err
36+ }
37+
3338 // Process driver configurations
3439 var driver * api.Driver
3540 if flags .Changed ("driver" ) {
6873 },
6974 DriverConfig : driver ,
7075 IPAM : ipamOpts ,
76+ Ingress : ingress ,
7177 }
7278
7379 c , err := common .Dial (cmd )
@@ -179,4 +185,5 @@ func init() {
179185 createCmd .Flags ().StringSlice ("gateway" , []string {}, "Gateway IP addresses for network segments" )
180186 createCmd .Flags ().StringSlice ("ip-range" , []string {}, "IP ranges to allocate from within the subnets" )
181187 createCmd .Flags ().StringSlice ("opts" , []string {}, "Network driver options" )
188+ createCmd .Flags ().Bool ("ingress" , false , "Create ingress network" )
182189}
You can’t perform that action at this time.
0 commit comments