~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/apiserver/params/network.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
366
366
        return nhpm
367
367
}
368
368
 
 
369
// UnitsNetworkConfig holds the parameters for calling Uniter.NetworkConfig()
 
370
// API.
 
371
type UnitsNetworkConfig struct {
 
372
        Args []UnitNetworkConfig `json:"Args"`
 
373
}
 
374
 
 
375
// UnitNetworkConfig holds a unit tag and an endpoint binding name.
 
376
type UnitNetworkConfig struct {
 
377
        UnitTag     string `json:"UnitTag"`
 
378
        BindingName string `json:"BindingName"`
 
379
}
 
380
 
369
381
// MachineAddresses holds an machine tag and addresses.
370
382
type MachineAddresses struct {
371
383
        Tag       string    `json:"Tag"`