Example #1
0
 def add_links(self, links):
     networks = self.get_networks()
     if len(networks) > 0:
         xml = networks[0].element
     else:
         xml = self.xml
     PGv2Link.add_links(xml, links)
Example #2
0
 def add_links(self, links):
     networks = self.get_networks()
     if len(networks) > 0:
         xml = networks[0].element
     else:
         xml = self.xml
     PGv2Link.add_links(xml, links)
Example #3
0
 def add_link_requests(self, link_tuples, append=False):
     PGv2Link.add_link_requests(self.xml.root, link_tuples, append)
Example #4
0
 def add_links(self, links):
     PGv2Link.add_links(self.xml.root, links)
Example #5
0
 def get_link_requests(self):
     return PGv2Link.get_link_requests(self.xml)  
Example #6
0
 def get_links(self, network=None):
     return PGv2Link.get_links(self.xml)
Example #7
0
 def add_link_requests(self, links):
     PGv2Link.add_link_requests(self.xml, links)
Example #8
0
 def add_link_requests(self, links):
     PGv2Link.add_link_requests(self.xml, links)