def send_community_nexus(val)
      reg = 'send-community extended|send-community standard|send-community'
      return 'both' if val.grep(/#{reg}/).size == 2
      val = val[0].split.last
      return 'standard' if val[/send-community/] # Workaround
      val
    end
def send_community_nexus(val)
      reg = 'send-community extended|send-community standard|send-community'
      return 'both' if val.grep(/#{reg}/).size == 2
      val = val[0].split.last
      return 'standard' if val[/send-community/] # Workaround
      val
    end
Nexus: <state> send-community [ both | extended | standard ]
  NOTE: 'standard' is default but does not nvgen on some platforms
  Returns: none, both, extended, or standard