interface.update¶
Update Interface of id.
Update network interface static IP:
> network interface update enp0s3 aliases=”192.168.0.10”
 Type: object
    
        
   
    
   
        
   
        
   
        
   
        
   
No Additional Properties   
   
        
   
        
   
        
   
        
   
        
   
No Additional Items         
   
No Additional Items         
   
No Additional Items         
   
        
   
        
   
        
   
        
   
        
   
No Additional Items         
   
 
        
   
        
   
 
        
   
        
   
        
   
        
   
No Additional Items  
No Additional Properties   
   
        
   
        
   
 
        
   
              
   
 
        
   
 
        
   
No Additional Items  
No Additional Properties   
   
        
   
No Additional Items               
   
 
        
   
 
        
   
 
        
   
 
        
   
 
            
   
No Additional Items  
No Additional Properties   
   
        
   
        
   
 
              
   
        
   
        
   
        
   
 
        
   
 
        
   
 
        
   
 
        
   
        
   
No Additional Items         
   
No Additional Items         
   
        
  
         
 Type: array
No Additional Items  
     
No Additional Properties   
   
        
   
        
   
        
   
        
   
   
No Additional Properties   
   
          
   
 
        
   
              
   
        
   
 
        
   
 
        
   
No Additional Items  
No Additional Properties   
   
          
   
 
              
   
No Additional Items  
No Additional Properties   
   
          
   
 
              
   
No Additional Items         
   
        
   
        
   
          
   
          
   
          
   
No Additional Items         
   
        
   
        
   
 
        
   
 
       
 No Additional Items
Tuple Validation
Parameter 1: id
id
Type: stringParameter 2: data
data
Type: objectNo Additional Properties
Name
Type: stringGenerate a name if not provided based on type, e.g. "br0", "bond1", "vlan0".
Description
Type: stringIpv4 Dhcp
Type: booleanIpv6 Auto
Type: booleanAliases
Type: array of objectAll items must be unique
No Additional ItemsEach item of this array must be:
InterfaceCreateAlias
Type: objectNo Additional Properties
Type
Type: enum (of string) Default: "INET"Must be one of:
- "INET"
- "INET6"
Address
 Type: const
  Specific value: 
Must be one of:
- ""
""  Type: string
 
Netmask
Type: integerFailover Critical
Type: booleanFailover Group
 Type: integer
 
 Type: null
 
Failover Vhid
 Type: integer
 
Value must be greater or equal to 1 and lesser or equal to 255
 Type: null
 
Failover Aliases
Type: array of objectNo Additional Items
Each item of this array must be:
InterfaceCreateFailoverAlias
Type: objectNo Additional Properties
Type
Type: enum (of string) Default: "INET"Must be one of:
- "INET"
- "INET6"
Address
 Type: const
  Specific value: 
Must be one of:
- ""
""  Type: string
 
Failover Virtual Aliases
Type: array of objectNo Additional Items
Each item of this array must be:
InterfaceCreateFailoverAlias
Type: objectNo Additional Properties
Type
Type: enum (of string) Default: "INET"Must be one of:
- "INET"
- "INET6"
Address
 Type: const
  Specific value: 
Must be one of:
- ""
""  Type: string
 
Bridge Members
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
 Enable Learning
Type: booleanStp
Type: booleanLag Protocol
Type: enum (of string)Must be one of:
- "LACP"
- "FAILOVER"
- "LOADBALANCE"
- "ROUNDROBIN"
- "NONE"
Xmit Hash Policy
Type: enum (of null or string)Must be one of:
- "LAYER2"
- "LAYER2+3"
- "LAYER3+4"
- null
Lacpdu Rate
Type: enum (of null or string)Must be one of:
- "SLOW"
- "FAST"
- null
Lag Ports
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Vlan Parent Interface
Type: stringVlan Tag
Type: integerVlan Pcp
 Type: integer
 
Value must be greater or equal to 0 and lesser or equal to 7
 Type: null
 
Mtu
 Type: integer
 
Value must be greater or equal to 68 and lesser or equal to 9216
 Type: null
 
InterfaceEntry
Type: objectId
Type: stringName
Type: stringFake
Type: booleanType
Type: stringInterfaceEntryState
Type: objectNo Additional Properties
Name
Type: stringOrig Name
Type: stringDescription
Type: stringMtu
Type: integerCloned
Type: booleanFlags
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Nd6 Flags
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
 Capabilities
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
 Link State
Type: stringMedia Type
Type: stringMedia Subtype
Type: stringActive Media Type
Type: stringActive Media Subtype
Type: stringSupported Media
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
 Media Options
 Type: array
No Additional Items  
No Additional Items
Each item of this array must be:
 Type: object
 
  Type: null
 
Link Address
Type: stringPermanent Link Address
 Type: string
 
 Type: null
 
Hardware Link Address
Type: stringRx Queues
Type: integerTx Queues
Type: integerAliases
Type: array of objectNo Additional Items
Each item of this array must be:
InterfaceEntryStateAlias
Type: objectNo Additional Properties
Type
Type: stringAddress
Type: stringNetmask
 Type: string
 
 Type: integer
 
Broadcast
Type: stringVrrp Config
Default: [] Type: array
No Additional Items  
No Additional Items
Each item of this array must be:
 Type: object
 
  Type: null
 
Protocol
 Type: string
 
 Type: null
 
Ports
Type: array of object Default: []No Additional Items
Each item of this array must be:
InterfaceEntryStatePort
Type: objectNo Additional Properties
Name
Type: stringFlags
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Xmit Hash Policy
Default: null Type: string
 
 Type: null
 
Lacpdu Rate
Default: null Type: string
 
 Type: null
 
Parent
 Type: string
 
 Type: null
 
Tag
 Type: integer
 
 Type: null
 
Pcp
 Type: integer
 
 Type: null
 
Aliases
Type: array of objectNo Additional Items
Each item of this array must be:
InterfaceEntryAlias
Type: objectNo Additional Properties
Type
Type: stringAddress
Type: stringNetmask
 Type: string
 
 Type: integer
 
Ipv4 Dhcp
Type: booleanIpv6 Auto
Type: booleanDescription
Type: stringMtu
 Type: integer
 
 Type: null
 
Vlan Parent Interface
 Type: string
 
 Type: null
 
Vlan Tag
 Type: integer
 
 Type: null
 
Vlan Pcp
 Type: integer
 
 Type: null
 
Lag Protocol
Type: stringLag Ports
Type: array of string Default: []No Additional Items
Each item of this array must be:
 Type: string
 
 Bridge Members
Type: array of string Default: []No Additional Items
Each item of this array must be:
 Type: string
 
 Enable Learning
Type: booleanAdditional Properties of any type are allowed.
Type: objectRequired roles: NETWORK_INTERFACE_WRITE